diff --git a/webapp/controller/BagController.class.php b/webapp/controller/BagController.class.php index 89749a7..e62b917 100644 --- a/webapp/controller/BagController.class.php +++ b/webapp/controller/BagController.class.php @@ -231,7 +231,7 @@ class BagController{ return; } $status = 2; - if ($row['active_time'] == 0) { + if ($row['active_time'] == 0 || $row['active_time'] > time()) { $status = 1; } $exchange_ret = $conn->execScript('UPDATE bag SET status=:status, color_id=0, modify_time=:modify_time ' .