Follow up r81100. Don't hardcode hiddencat quotes, per r80936 CR.
authorPlatonides <platonides@users.mediawiki.org>
Fri, 28 Jan 2011 22:17:01 +0000 (22:17 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Fri, 28 Jan 2011 22:17:01 +0000 (22:17 +0000)
includes/OutputPage.php

index 6e3ad66..ec6748b 100644 (file)
@@ -1002,7 +1002,7 @@ class OutputPage {
                        $lb->constructSet( 'page', $dbr ),
                        __METHOD__,
                        array(),
-                       array( 'page_props' => array( 'LEFT JOIN', "pp_propname='hiddencat' AND pp_page=page_id" ) )
+                       array( 'page_props' => array( 'LEFT JOIN', array( 'pp_propname' => 'hiddencat', 'pp_page = page_id' ) )
                );
 
                # Add the results to the link cache