From: Brion Vibber Date: Mon, 27 Apr 2009 18:39:49 +0000 (+0000) Subject: Follow-up to r49921 -- "Implement quickbar settings" X-Git-Tag: 1.31.0-rc.0~41962 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=4be504e4241f6fd3306ed819da133dcc19238308;p=lhc%2Fweb%2Fwiklou.git Follow-up to r49921 -- "Implement quickbar settings" Make actually work now after bits were divided into functions :D --- diff --git a/includes/Preferences.php b/includes/Preferences.php index 269b8d68a1..2303c06c67 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -365,7 +365,7 @@ class Preferences { static function skinPreferences( $user, &$defaultPreferences ) { ## Skin ##################################### - global $wgAllowUserSkin; + global $wgAllowUserSkin, $wgLang; if ($wgAllowUserSkin) { $defaultPreferences['skin'] =