From: Magnus Manske Date: Tue, 10 Jan 2006 14:44:50 +0000 (+0000) Subject: Missing global fix X-Git-Tag: 1.6.0~638 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=79fb4949316444dd9ec2539091114ede8fb1d4cb;p=lhc%2Fweb%2Fwiklou.git Missing global fix --- diff --git a/languages/Language.php b/languages/Language.php index 644dcdd1c2..f1a94882e7 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -2489,7 +2489,7 @@ class Language { * @return string */ function date( $ts, $adj = false, $format = true, $timecorrection = false ) { - global $wgUser; + global $wgUser, $wgAmericanDates; if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }