From: Sam Reed Date: Wed, 26 Jan 2011 23:13:20 +0000 (+0000) Subject: Fixup query fail from r80936 X-Git-Tag: 1.31.0-rc.0~32341 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=728dc12f6428d0057a0cc5d2a063b1f95ecffe81;p=lhc%2Fweb%2Fwiklou.git Fixup query fail from r80936 --- 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