From: Andrew Garrett Date: Thu, 11 Jan 2007 00:52:50 +0000 (+0000) Subject: Next batch of bug-fixes. X-Git-Tag: 1.31.0-rc.0~54522 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=146f6316b366f9e76d5728ed15d77bb5982d3a27;p=lhc%2Fweb%2Fwiklou.git Next batch of bug-fixes. --- 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' ),