From 52bb88d41e29de3d44a8679691ae3d9565d7d807 Mon Sep 17 00:00:00 2001 From: Philip Tzou Date: Wed, 5 Jan 2011 16:37:36 +0000 Subject: [PATCH] Follow r79649 and r79650. Errrr, remove the redundant minus --- includes/api/ApiOpenSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiOpenSearch.php b/includes/api/ApiOpenSearch.php index de919b4369..3b5cca62f7 100644 --- 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; } -- 2.20.1