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

+ 1 - 1
console/controllers/ProductController.php

@@ -63,7 +63,7 @@ class ProductController extends Controller
     // ./yii product/get-img
     public function actionGetImg()
     {
-        $list = ProductClass::getAllByCondition(['shopId' => 10], null, '*');
+        $list = ProductClass::getAllByCondition(['shopId' => 10], null, '*', null, true);
         $arr = [];
         if (!empty($list)) {
             foreach ($list as $key => $val) {