From 728dc12f6428d0057a0cc5d2a063b1f95ecffe81 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Wed, 26 Jan 2011 23:13:20 +0000 Subject: [PATCH] Fixup query fail from r80936 --- includes/OutputPage.php | 3 ++- includes/Title.php | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index ed74be38df..b05ecf8e89 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -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 diff --git a/includes/Title.php b/includes/Title.php index e98ab59176..f67218df3d 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -3570,7 +3570,6 @@ class Title { return $stack; } - /** * Get an associative array for selecting this title from * the "page" table -- 2.20.1