X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiOpenSearch.php;h=36026c22f4c8db92e6824a2f12beda0ea032d818;hb=86e80813d6ab92b1718be3616e5f75e51cbffdcf;hp=8c03dceeff4c968b1be5dfd1001c86619c805c4e;hpb=4f8ff83ecd7166c0ec617c1c3ce4374d464b857c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiOpenSearch.php b/includes/api/ApiOpenSearch.php index 8c03dceeff..36026c22f4 100644 --- a/includes/api/ApiOpenSearch.php +++ b/includes/api/ApiOpenSearch.php @@ -212,7 +212,7 @@ class ApiOpenSearch extends ApiBase { switch ( $this->getFormat() ) { case 'json': // http://www.opensearch.org/Specifications/OpenSearch/Extensions/Suggestions/1.1 - $result->addArrayType( null, 'array' ); + $result->addArrayType( null, 'BCarray' ); $result->addValue( null, 0, strval( $search ) ); $terms = array(); $descriptions = array();