shish 3 år sedan
förälder
incheckning
98fac36bba
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      console/controllers/InitController.php

+ 1 - 1
console/controllers/InitController.php

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