From: Jens Frank Date: Tue, 4 Jan 2005 23:49:16 +0000 (+0000) Subject: BUG#1264 - Initialize pageId for query X-Git-Tag: 1.5.0alpha1~996 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=9cd70d0061ca141b88645b6d77b3b6faba06ff8d;p=lhc%2Fweb%2Fwiklou.git BUG#1264 - Initialize pageId for query --- diff --git a/includes/Article.php b/includes/Article.php index 2c5dc57fc3..b2b84b8060 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -532,6 +532,7 @@ class Article { $encDBkey = $dbr->addQuotes( $title->getDBkey() ); $ns = $title->getNamespace(); $user = $this->getUser(); + $pageId = $this->getId(); $sql = "SELECT rev_user, rev_user_text, user_real_name, MAX(rev_timestamp) as timestamp FROM $revTable LEFT JOIN $userTable ON rev_user = user_id