rabin 2 éve
szülő
commit
4fc6d2a754
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      app/shop/lib/Cron.php

+ 3 - 0
app/shop/lib/Cron.php

@@ -33,6 +33,9 @@ class Cron
                 if ($test == 1) {
                     print_r($data);die;
                 }
+                if ($data <= 0) {
+                    continue;
+                }
                 $update = array();
                 $update['shop_id'] = $v['id'];
                 $update['clear'] = true;