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:
6fe99a3
)
Follow r79649 and r79650. Errrr, remove the redundant minus
author
Philip Tzou
<philip@users.mediawiki.org>
Wed, 5 Jan 2011 16:37:36 +0000
(16:37 +0000)
committer
Philip Tzou
<philip@users.mediawiki.org>
Wed, 5 Jan 2011 16:37:36 +0000
(16:37 +0000)
includes/api/ApiOpenSearch.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiOpenSearch.php
b/includes/api/ApiOpenSearch.php
index
de919b4
..
3b5cca6
100644
(file)
--- a/
includes/api/ApiOpenSearch.php
+++ b/
includes/api/ApiOpenSearch.php
@@
-72,7
+72,7
@@
class ApiOpenSearch extends ApiBase {
$_srchres = PrefixSearch::titleSearch( $fbsearch, $fblimit,
$namespaces );
$srchres = array_merge( $srchres, $_srchres );
- $fblimit -=
-
count( $_srchres );
+ $fblimit -= count( $_srchres );
if ( $fblimit == 0 ) {
break;
}