Index: trunk/extensions/Babel/Babel.php |
— | — | @@ -235,7 +235,7 @@ |
236 | 236 | * to ISO 639-1 correlation is implemented and a system to |
237 | 237 | * also try and get messages from CLDR is implemented. |
238 | 238 | */ |
239 | | - if( $names[ $code ] ) { |
| 239 | + if( array_key_exists( $code, $names ) ) { |
240 | 240 | $name = $names[ $code ]; |
241 | 241 | } |
242 | 242 | |