From 4be504e4241f6fd3306ed819da133dcc19238308 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 27 Apr 2009 18:39:49 +0000 Subject: [PATCH] Follow-up to r49921 -- "Implement quickbar settings" Make actually work now after bits were divided into functions :D --- includes/Preferences.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] = -- 2.20.1