diff --git a/webapp/controller/BagController.class.php b/webapp/controller/BagController.class.php index 4ce401f..64b225f 100644 --- a/webapp/controller/BagController.class.php +++ b/webapp/controller/BagController.class.php @@ -79,6 +79,7 @@ class BagController{ foreach ($rows as $row){ $active_time = 0; $color_id = 0; + $status = $row['status']; if (time() >= $row['active_time'] && $row['active_time'] != 0) { $ret = $conn->execScript('UPDATE bag SET active_time=0, color_id=0, status=2, modify_time=:modify_time ' . ' WHERE accountid=:account_id AND id=:id;',