missing parentheses
authorGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 20 May 2004 11:13:51 +0000 (11:13 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Thu, 20 May 2004 11:13:51 +0000 (11:13 +0000)
includes/EditPage.php

index 5ea232b..e75b922 100644 (file)
@@ -113,7 +113,7 @@ class EditPage {
                $sk = $wgUser->getSkin();
                $isConflict = false;
                // css / js subpages of user pages get a special treatment
-               $isCssJsSubpage = Namespace::getUser() == $wgTitle->getNamespace() and preg_match("/\\.(css|js)$/", $wgTitle->getText() );
+               $isCssJsSubpage = (Namespace::getUser() == $wgTitle->getNamespace() and preg_match("/\\.(css|js)$/", $wgTitle->getText() ));
 
                if(!$this->mTitle->getArticleID()) { # new article
                        $wgOut->addWikiText(wfmsg("newarticletext"));