From: Tim Starling Date: Wed, 7 Apr 2004 13:56:47 +0000 (+0000) Subject: fixed minor bug X-Git-Tag: 1.3.0beta1~570 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=3df6dceb7a0701ee9666dfec3a099a364e5fda87;p=lhc%2Fweb%2Fwiklou.git fixed minor bug --- diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index 4fc2cf1f36..c631e42466 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -84,7 +84,7 @@ $tpl->setRef( 'charset', $wgOutputEncoding); $tpl->setRef( 'skinname', $this->skinname ); $tpl->setRef( "loggedin", &$this->loggedin ); - $tpl->set( "editable", ($wgTitle->getNamespace != Namespace::getSpecial() ) ); + $tpl->set( "editable", ($wgTitle->getNamespace() != NS_SPECIAL ) ); $tpl->set( "exists", $wgTitle->getArticleID() != 0 ); $tpl->set( "watch", $wgTitle->userIsWatching() ? "unwatch" : "watch" ); $tpl->set( "protect", count($wgTitle->getRestrictions()) ? "unprotect" : "protect" );