stanley-king 7 lat temu
rodzic
commit
49435d846f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      crontab/control/command.php

+ 1 - 1
crontab/control/command.php

@@ -36,7 +36,7 @@ class commandControl extends BaseCronControl
     public function refund0928BonusOp()
     {
         $items = Model()->query('SELECT * FROM lrlz_order WHERE pd_amount=0 AND LENGTH(bonus_rate) > 0 AND add_time > UNIX_TIMESTAMP(DATE (\'2016-09-28 00:00:00\')) AND order_state = 0');
-        if(empty($item)) return;
+        if(empty($items)) return;
         foreach ($items as $item) {
             $order_sn = $item['order_sn'];
             $member_id = intval($item['buyer_id']);