From: Daniel Kinzler Date: Tue, 22 Aug 2006 12:16:14 +0000 (+0000) Subject: StubObject.php: use getVal() instead of getText() to check for uselang parameter X-Git-Tag: 1.31.0-rc.0~55930 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=8fe37df5661779aa104f721dd97d76f4a09e4efd;p=lhc%2Fweb%2Fwiklou.git StubObject.php: use getVal() instead of getText() to check for uselang parameter --- diff --git a/includes/StubObject.php b/includes/StubObject.php index 7225c24f13..6a50e018bc 100644 --- a/includes/StubObject.php +++ b/includes/StubObject.php @@ -89,7 +89,7 @@ class StubUserLang extends StubObject { function _newObject() { global $wgContLanguageCode, $wgRequest, $wgUser, $wgContLang; - $code = $wgRequest->getText('uselang', ''); + $code = $wgRequest->getVal('uselang', ''); if ($code == '') $code = $wgUser->getOption('language'); # Validate $code