shish 3 vuotta sitten
vanhempi
commit
98fac36bba
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      console/controllers/InitController.php

+ 1 - 1
console/controllers/InitController.php

@@ -14,7 +14,7 @@ class InitController extends Controller
 
     public function actionCustom()
     {
-        $customList = CustomClass::getAllByCondition(['id>0'], null, '*', null, true);
+        $customList = CustomClass::getAllByCondition(['id>' => 0], null, '*', null, true);
         if (!empty($customList)) {
             foreach ($customList as $custom) {
                 $userId = $custom->userId ?? 0;