fix
This commit is contained in:
parent
523a487162
commit
c9acff8aa7
@ -51,7 +51,7 @@ class Privilege
|
|||||||
$vip_info = json_decode($row['vip_info'], true);
|
$vip_info = json_decode($row['vip_info'], true);
|
||||||
foreach ($vip_info as $key => $carditem) {
|
foreach ($vip_info as $key => $carditem) {
|
||||||
if ($vip_info[$key]['expire'] == 0 || $vip_info[$key]['expire'] > $nowtime) {
|
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) {
|
if (!$privilegecard_conf) {
|
||||||
$plus += $privilegecard_conf[$name];
|
$plus += $privilegecard_conf[$name];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user