From: dcausse Date: Tue, 3 May 2016 19:40:05 +0000 (+0200) Subject: Fix Undefined variable: namespaces in includes/search/SearchEngineConfig.php on line 109 X-Git-Tag: 1.31.0-rc.0~7113 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=257c023666d2dd2c37b0752f5e1f4ff0325a03c4;p=lhc%2Fweb%2Fwiklou.git Fix Undefined variable: namespaces in includes/search/SearchEngineConfig.php on line 109 Bug: T134305 Change-Id: I220886e12a6d083ac34a8a75bc77871e89dbf747 --- diff --git a/includes/search/SearchEngine.php b/includes/search/SearchEngine.php index 27b6dd4d0a..dcef95c8f9 100644 --- a/includes/search/SearchEngine.php +++ b/includes/search/SearchEngine.php @@ -607,7 +607,7 @@ abstract class SearchEngine { * @return array */ public static function namespacesAsText( $namespaces ) { - return MediaWikiServices::getInstance()->getSearchEngineConfig()->namespacesAsText(); + return MediaWikiServices::getInstance()->getSearchEngineConfig()->namespacesAsText( $namespaces ); } /**