Index: trunk/extensions/Translate/TranslateEditAddons.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | } |
37 | 37 | |
38 | 38 | list( $key, $code, $group ) = self::getKeyCodeGroup( $wgTitle ); |
39 | | - if ( $group === null ) { |
| 39 | + if ( !$group || !$code ) { |
40 | 40 | return true; |
41 | 41 | } |
42 | 42 | |