Просмотр исходного кода

#4558 - Build-in API support enhancement (search)

roman.lesnikov@gmail.com 2 лет назад
Родитель
Сommit
25a896d387
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      template/scripts/BxBaseSearchExtended.php

+ 1 - 1
template/scripts/BxBaseSearchExtended.php

@@ -235,7 +235,7 @@ class BxBaseSearchExtended extends BxDolSearchExtended
             if(isset($aParams['search_params']))
                 return [$this->getResultsAPI($mixedResults, $iPerPage, $iStart, $aParamsSearch)];
             else
-                return $this->getResultsAPI($mixedResults, $iPerPage, $iStart, $aParamsSearch);
+                return [$this->getResultsAPI($mixedResults, $iPerPage, $iStart, $aParamsSearch)];
         }
 
         $aTxtDirection = [