dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
237359a
)
Fixed "Undefined property: stdClass::$page_namespace" error
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 19 Nov 2013 23:35:37 +0000
(15:35 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 19 Nov 2013 23:37:06 +0000
(15:37 -0800)
* BacklinkCache::fullResultCache should always have all the columns
* Fixes bug from
a9dc4d943e8f7e7824f31dc7fd1270873f8a9fdb
Change-Id: Ic0042ef6b1ce655bd97814362d95d8b0fe53affa
includes/cache/BacklinkCache.php
patch
|
blob
|
history
diff --git
a/includes/cache/BacklinkCache.php
b/includes/cache/BacklinkCache.php
index
dcd8191
..
8eed1a5
100644
(file)
--- 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 {