From: Aaron Schulz Date: Tue, 19 Nov 2013 23:35:37 +0000 (-0800) Subject: Fixed "Undefined property: stdClass::$page_namespace" error X-Git-Tag: 1.31.0-rc.0~18008^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=commitdiff_plain;h=ddaffed3177c766ffae75d81caa5cc99a1514b16;p=lhc%2Fweb%2Fwiklou.git Fixed "Undefined property: stdClass::$page_namespace" error * BacklinkCache::fullResultCache should always have all the columns * Fixes bug from a9dc4d943e8f7e7824f31dc7fd1270873f8a9fdb Change-Id: Ic0042ef6b1ce655bd97814362d95d8b0fe53affa --- diff --git a/includes/cache/BacklinkCache.php b/includes/cache/BacklinkCache.php index dcd81918f5..8eed1a50e1 100644 --- a/includes/cache/BacklinkCache.php +++ b/includes/cache/BacklinkCache.php @@ -223,7 +223,7 @@ class BacklinkCache { ); } - if ( !$startId && !$endId && $res->numRows() < $max ) { + if ( $select === 'all' && !$startId && !$endId && $res->numRows() < $max ) { // The full results fit within the limit, so cache them $this->fullResultCache[$table] = $res; } else {