r45768 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45767‎ | r45768 | r45769 >
Date:13:33, 15 January 2009
Author:raymond
Status:ok
Tags:
Comment:
Fixing fatal error caused by a typo
Modified paths:
  • /trunk/extensions/LanguageSelector/LanguageSelector.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LanguageSelector/LanguageSelector.php
@@ -297,7 +297,7 @@
298298 * see if the content language is accepted by the
299299 * client.
300300 */
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 ) ) {
302302 return $contLang;
303303 }
304304

Status & tagging log