From 20776fcb3f066aae231576e876ffed2d6c077c17 Mon Sep 17 00:00:00 2001 From: yangduo Date: Tue, 11 Feb 2025 15:12:56 +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 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 ' .