1
This commit is contained in:
parent
c9acff8aa7
commit
575d4312ee
@ -49,8 +49,8 @@ class Privilege
|
|||||||
if ($row) {
|
if ($row) {
|
||||||
$nowtime = time();
|
$nowtime = time();
|
||||||
$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 $carditem) {
|
||||||
if ($vip_info[$key]['expire'] == 0 || $vip_info[$key]['expire'] > $nowtime) {
|
if ($carditem['expire'] == 0 || $carditem['expire'] > $nowtime) {
|
||||||
$privilegecard_conf = metatable\getPrivilegeCardById($carditem['id']);
|
$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