From: Michael Dale Date: Wed, 23 Sep 2009 16:10:01 +0000 (+0000) Subject: opps missing function call X-Git-Tag: 1.31.0-rc.0~39557 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/?a=commitdiff_plain;h=b5b0a819a018bcfcb7d5b74efd84a0db13f3b0a9;p=lhc%2Fweb%2Fwiklou.git opps missing function call --- diff --git a/js2/mwEmbed/jsScriptLoader.php b/js2/mwEmbed/jsScriptLoader.php index 7d3fbf9294..6f71636b3a 100644 --- a/js2/mwEmbed/jsScriptLoader.php +++ b/js2/mwEmbed/jsScriptLoader.php @@ -204,8 +204,8 @@ class jsScriptLoader { //make sure its a valid wikipage before doing processing $t = Title::newFromDBkey( substr( $reqClass, 3) ); if( $t->exists() - && $t->getNamespace == NS_MEDIAWIKI - && $t->getNamespace == NS_USER){ + && $t->getNamespace() == NS_MEDIAWIKI + && $t->getNamespace() == NS_USER){ $doAddWT = true; } } @@ -231,7 +231,7 @@ class jsScriptLoader { } } - + // Add the language code to the rKey: $this->rKey .= '_' . $wgContLanguageCode;