From abb1da64015b5f211415d89032f97ea597acccc5 Mon Sep 17 00:00:00 2001 From: yangduo Date: Mon, 10 Feb 2025 16:19:23 +0800 Subject: [PATCH] fix --- webapp/controller/BagController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ' .