Fixup query fail from r80936
authorSam Reed <reedy@users.mediawiki.org>
Wed, 26 Jan 2011 23:13:20 +0000 (23:13 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 26 Jan 2011 23:13:20 +0000 (23:13 +0000)
includes/OutputPage.php
includes/Title.php

index ed74be3..b05ecf8 100644 (file)
@@ -1001,7 +1001,8 @@ class OutputPage {
                        array( 'page_id', 'page_namespace', 'page_title', 'page_len', 'page_is_redirect', 'page_latest', 'pp_value' ),
                        $lb->constructSet( 'page', $dbr ),
                        __METHOD__,
-                       array( 'LEFT JOIN' => array( "pp_propname='hiddencat'", "pp_page=page_id"  ) )
+                       array(),
+                       array( 'page_props' => array( 'LEFT JOIN' => array( "pp_propname='hiddencat'", "pp_page=page_id" ) ) )
                );
 
                # Add the results to the link cache
index e98ab59..f67218d 100644 (file)
@@ -3570,7 +3570,6 @@ class Title {
                return $stack;
        }
 
-
        /**
         * Get an associative array for selecting this title from
         * the "page" table