From b5b0a819a018bcfcb7d5b74efd84a0db13f3b0a9 Mon Sep 17 00:00:00 2001 From: Michael Dale Date: Wed, 23 Sep 2009 16:10:01 +0000 Subject: [PATCH] opps missing function call --- js2/mwEmbed/jsScriptLoader.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.20.1