Index: trunk/extensions/LanguageSelector/LanguageSelector.php |
— | — | @@ -297,7 +297,7 @@ |
298 | 298 | * see if the content language is accepted by the |
299 | 299 | * client. |
300 | 300 | */ |
301 | | - if ( $mode == LANGUAGE_SELECTOR_PREFER_CONTENT_LANG && array_key_exist( $contLang, $languages ) ) { |
| 301 | + if ( $mode == LANGUAGE_SELECTOR_PREFER_CONTENT_LANG && array_key_exists( $contLang, $languages ) ) { |
302 | 302 | return $contLang; |
303 | 303 | } |
304 | 304 | |