This commit is contained in:
yangduo 2025-01-16 18:22:51 +08:00
parent 523a487162
commit c9acff8aa7

View File

@ -51,7 +51,7 @@ class Privilege
$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);
$privilegecard_conf = metatable\getPrivilegeCardById($carditem['id']);
if (!$privilegecard_conf) {
$plus += $privilegecard_conf[$name];
}