shish 2 лет назад
Родитель
Сommit
ccc3a066d5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      console/controllers/PtItemController.php

+ 1 - 1
console/controllers/PtItemController.php

@@ -29,7 +29,7 @@ class PtItemController extends Controller
             }
         }
 
-        $relationList = PtItemCatRelateClass::getAllByCondition(['id>' => 0], null, '*', true);
+        $relationList = PtItemCatRelateClass::getAllByCondition(['id>' => 0], null, '*', null, true);
         if (!empty($relationList)) {
             foreach ($relationList as $relation) {
                 $itemId = $relation->itemId;