stanley-king hace 7 años
padre
commit
49435d846f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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']);