Index: trunk/extensions/Translate/specials/SpecialLanguageStats.php |
— | — | @@ -122,7 +122,7 @@ |
123 | 123 | $wgOut->wrapWikiMsg( "<div class='error'>$1</div>", 'translate-mgs-nothing' ); |
124 | 124 | } |
125 | 125 | $wgOut->addHTML( $output ); |
126 | | - } elseif ( $target !== null ) { |
| 126 | + } elseif ( $submitted ) { |
127 | 127 | $this->invalidTarget(); |
128 | 128 | } |
129 | 129 | |