* Whoops
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 8 Oct 2006 14:05:04 +0000 (14:05 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 8 Oct 2006 14:05:04 +0000 (14:05 +0000)
includes/SpecialPreferences.php

index 7cd38e5..aa1e873 100644 (file)
@@ -611,7 +611,7 @@ class PreferencesForm {
                 * Make sure the site language is in the list; a custom language code
                 * might not have a defined name...
                 */
-               $languages = $wgLang->getLanguageNames( false );
+               $languages = $wgLang->getLanguageNames( true );
                if( !array_key_exists( $wgContLanguageCode, $languages ) ) {
                        $languages[$wgContLanguageCode] = $wgContLanguageCode;
                }