Fix for r57986: Notice: Undefined variable: wgEnableOpenSearchSuggest in includes...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 21 Oct 2009 21:22:00 +0000 (21:22 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 21 Oct 2009 21:22:00 +0000 (21:22 +0000)
includes/api/ApiOpenSearch.php

index 27450d8..2ed6194 100644 (file)
@@ -42,7 +42,7 @@ class ApiOpenSearch extends ApiBase {
        }
 
        public function execute() {
-               global $wgEnableMWSuggest;
+               global $wgEnableOpenSearchSuggest;
                $params = $this->extractRequestParams();
                $search = $params['search'];
                $limit = $params['limit'];