SpecialResetTokens: Switch to OOUI form
[lhc/web/wiklou.git] / includes / specials / SpecialPageLanguage.php
index 79b2444..9476819 100644 (file)
@@ -87,7 +87,10 @@ class SpecialPageLanguage extends FormSpecialPage {
        }
 
        protected function postText() {
-               return $this->showLogFragment( $this->par );
+               if ( $this->par ) {
+                       return $this->showLogFragment( $this->par );
+               }
+               return '';
        }
 
        protected function getDisplayFormat() {