diff --git a/webapp/controller/BagController.class.php b/webapp/controller/BagController.class.php index a28d641..67032ca 100644 --- a/webapp/controller/BagController.class.php +++ b/webapp/controller/BagController.class.php @@ -155,7 +155,7 @@ class BagController{ continue; } $status = 2; - if ($row['active_time'] == 0) { + if ($row['active_time'] == 0 || $row['active_time'] > time()) { $status = 1; } $using_ret = $conn->execScript('UPDATE bag SET status=:status, color_id=0, modify_time=:modify_time ' .