Follow r79649 and r79650. Errrr, remove the redundant minus
authorPhilip Tzou <philip@users.mediawiki.org>
Wed, 5 Jan 2011 16:37:36 +0000 (16:37 +0000)
committerPhilip Tzou <philip@users.mediawiki.org>
Wed, 5 Jan 2011 16:37:36 +0000 (16:37 +0000)
includes/api/ApiOpenSearch.php

index de919b4..3b5cca6 100644 (file)
@@ -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;
                                        }