From 146f6316b366f9e76d5728ed15d77bb5982d3a27 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Thu, 11 Jan 2007 00:52:50 +0000 Subject: [PATCH] Next batch of bug-fixes. --- includes/Article.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index bfec500d9b..b8ab9227a5 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2822,9 +2822,7 @@ class Article { $result = array(); $id = $this->mTitle->getArticleID(); - if( $id == 0 ) { - $tlTemplates = array(); - } + $tlTemplates = array(); $dbr =& wfGetDB( DB_SLAVE ); $res = $dbr->select( array( 'templatelinks' ), -- 2.20.1