From 8a196eb77b0dd9129f9e80a3cf2a475584edd50b Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Sat, 1 Jan 2011 01:05:39 +0000 Subject: [PATCH] *sigh* I wish this were git... Followup r79398, small mistake that slipped through when I was fixing an incorrect method use. --- includes/SkinTemplate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 46c84d355a..8b38500212 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -810,7 +810,7 @@ class SkinTemplate extends Skin { wfRunHooks( 'SkinTemplatePreventOtherActiveTabs', array( &$this, &$preventActiveTabs ) ); // Checks if page is some kind of content - if( $this->mTitle->getNamespace() != NS_SPECIAL ) { + if( $title->getNamespace() != NS_SPECIAL ) { // Gets page objects for the related namespaces $subjectPage = $title->getSubjectPage(); $talkPage = $title->getTalkPage(); -- 2.20.1