From: Tim Starling Date: Wed, 20 Feb 2008 13:38:17 +0000 (+0000) Subject: fix bug 13085 (since last commit) X-Git-Tag: 1.31.0-rc.0~49423 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=4ba60c405a6e1add368f8f67c0f78e1af759feb9;p=lhc%2Fweb%2Fwiklou.git fix bug 13085 (since last commit) --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 41e42eabf4..6a8c5efd10 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -290,7 +290,7 @@ class OutputPage { $propsTable = $dbr->tableName( 'page_props' ); $where = $lb->constructSet( 'page', $dbr ); $sql = "SELECT page_id, page_namespace, page_title, pp_value FROM $pageTable LEFT JOIN $propsTable " . - " ON pp_page=page_id WHERE ($where) AND pp_propname='hiddencat'"; + " ON pp_propname='hiddencat' AND pp_page=page_id WHERE $where"; $res = $dbr->query( $sql, __METHOD__ ); # Add the results to the link cache