Followup r81067, use the right syntax for doing a join
authorOverlordQ <overlordq@users.mediawiki.org>
Thu, 27 Jan 2011 20:25:37 +0000 (20:25 +0000)
committerOverlordQ <overlordq@users.mediawiki.org>
Thu, 27 Jan 2011 20:25:37 +0000 (20:25 +0000)
includes/OutputPage.php

index b05ecf8..6e3ad66 100644 (file)
@@ -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