From 92835c2152055f44da8fba0b690ac9aafa74744d Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 19 Mar 2020 18:54:01 +0800 Subject: [PATCH] 1 --- webapp/controller/BagController.class.php | 1 + 1 file changed, 1 insertion(+) 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;',