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:
d1f8fb0
)
Followup af4085a: reset $prev interwiki to null in between result sets
author
Chad Horohoe
<chadh@wikimedia.org>
Mon, 24 Mar 2014 19:24:45 +0000
(12:24 -0700)
committer
Chad Horohoe
<chadh@wikimedia.org>
Mon, 24 Mar 2014 19:24:45 +0000
(12:24 -0700)
Change-Id: Ie2ba7b061e532e0ab749b0519a7e72bc018a1b5a
includes/specials/SpecialSearch.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialSearch.php
b/includes/specials/SpecialSearch.php
index
ed3857b
..
aea8f17
100644
(file)
--- a/
includes/specials/SpecialSearch.php
+++ b/
includes/specials/SpecialSearch.php
@@
-753,12
+753,12
@@
class SpecialSearch extends SpecialPage {
}
}
- $prev = null;
if ( !is_array( $matches ) ) {
$matches = array( $matches );
}
foreach ( $matches as $set ) {
+ $prev = null;
$result = $set->next();
while ( $result ) {
$out .= $this->showInterwikiHit( $result, $prev, $query, $customCaptions );