From: Alexandre Emsenhuber Date: Wed, 21 Oct 2009 21:22:00 +0000 (+0000) Subject: Fix for r57986: Notice: Undefined variable: wgEnableOpenSearchSuggest in includes... X-Git-Tag: 1.31.0-rc.0~39194 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=e8f9ef9409ff821d94685258dc3edb0eb770062a;p=lhc%2Fweb%2Fwiklou.git Fix for r57986: Notice: Undefined variable: wgEnableOpenSearchSuggest in includes/api/ApiOpenSearch.php on line 53 --- diff --git a/includes/api/ApiOpenSearch.php b/includes/api/ApiOpenSearch.php index 27450d83e2..2ed6194bb2 100644 --- a/includes/api/ApiOpenSearch.php +++ b/includes/api/ApiOpenSearch.php @@ -42,7 +42,7 @@ class ApiOpenSearch extends ApiBase { } public function execute() { - global $wgEnableMWSuggest; + global $wgEnableOpenSearchSuggest; $params = $this->extractRequestParams(); $search = $params['search']; $limit = $params['limit'];