From: OverlordQ Date: Thu, 27 Jan 2011 20:25:37 +0000 (+0000) Subject: Followup r81067, use the right syntax for doing a join X-Git-Tag: 1.31.0-rc.0~32337 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=5a107a02d4efb5498283ca235f4ae3de397d2016;p=lhc%2Fweb%2Fwiklou.git Followup r81067, use the right syntax for doing a join --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index b05ecf8e89..6e3ad660a0 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1002,7 +1002,7 @@ class OutputPage { $lb->constructSet( 'page', $dbr ), __METHOD__, array(), - array( 'page_props' => array( 'LEFT JOIN' => array( "pp_propname='hiddencat'", "pp_page=page_id" ) ) ) + array( 'page_props' => array( 'LEFT JOIN', "pp_propname='hiddencat' AND pp_page=page_id" ) ) ); # Add the results to the link cache