From ee35fe055d4ef077fa67915f18d4d8c8d86c74e2 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Mon, 27 Apr 2009 05:43:53 +0000 Subject: [PATCH] Fix preferences for sites with math enabled --- includes/Preferences.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Preferences.php b/includes/Preferences.php index 7baf30837b..ffa94bad64 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -398,7 +398,7 @@ class Preferences { static function mathPreferences( $user, &$defaultPreferences ) { ## Math ##################################### - global $wgUseTeX; + global $wgUseTeX, $wgLang; if ($wgUseTeX) { $defaultPreferences['math'] = array( -- 2.20.1