shish 1 год назад
Родитель
Сommit
4cff8635ea
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/ItemController.php

+ 1 - 1
app-ghs/controllers/ItemController.php

@@ -978,7 +978,7 @@ class ItemController extends BaseController
         if (!empty($list)) {
             foreach ($list as $key => $item) {
                 if(!empty($item)){
-                    $array[] = $item;
+                    $array = array_merge($array, $item);
                 }
             }
         }