From d2bdabdb131a7d8715acf3a89088953a17f9b1c8 Mon Sep 17 00:00:00 2001 From: yangduo Date: Thu, 16 Jan 2025 16:52:51 +0800 Subject: [PATCH] fix --- webapp/classes/Privilege.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/classes/Privilege.php b/webapp/classes/Privilege.php index 7f03747..53bff1b 100644 --- a/webapp/classes/Privilege.php +++ b/webapp/classes/Privilege.php @@ -48,7 +48,7 @@ class Privilege $plus = 0; if ($row) { $nowtime = time(); - $vip_info = json_decode($row['vip_info']); + $vip_info = json_decode($row['vip_info'], true); foreach ($vip_info as $key => $carditem) { if ($vip_info[$key]['expire'] == 0 || $vip_info[$key]['expire'] > $nowtime) { $privilegecard_conf = metatable\getPrivilegeCardById($key);