shish 2 жил өмнө
parent
commit
7c19831948

+ 1 - 1
console/controllers/TestController.php

@@ -13,7 +13,7 @@ class TestController extends Controller
 
     public function actionDel()
     {
-        $shopList = ShopClass::getAllByCondition(['ptStyle' => 2], null, '*', true);
+        $shopList = ShopClass::getAllByCondition(['ptStyle' => 2], null, '*', null, true);
         if (!empty($shopList)) {
             foreach ($shopList as $shop) {
                 $mainId = $shop->mainId ?? 0;