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);