Fix for r89474: added missing () to function call
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 4 Jun 2011 20:28:59 +0000 (20:28 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 4 Jun 2011 20:28:59 +0000 (20:28 +0000)
includes/StubObject.php

index 8b2c8db..951cbae 100644 (file)
@@ -148,6 +148,6 @@ class StubUserLang extends StubObject {
        }
 
        function _newObject() {
-               return RequestContext::getMain()->getLang;
+               return RequestContext::getMain()->getLang();
        }
 }