Follow-up to r49921 -- "Implement quickbar settings"
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 27 Apr 2009 18:39:49 +0000 (18:39 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 27 Apr 2009 18:39:49 +0000 (18:39 +0000)
Make actually work now after bits were divided into functions :D

includes/Preferences.php

index 269b8d6..2303c06 100644 (file)
@@ -365,7 +365,7 @@ class Preferences {
        
        static function skinPreferences( $user, &$defaultPreferences ) {
                ## Skin #####################################
-               global $wgAllowUserSkin;
+               global $wgAllowUserSkin, $wgLang;
                
                if ($wgAllowUserSkin) {
                        $defaultPreferences['skin'] =