fix
This commit is contained in:
parent
fbfbf6bad6
commit
2cb0b2e2df
@ -178,7 +178,7 @@ class BagController{
|
||||
':accountid' => $account_id,
|
||||
':id' => $item_id,
|
||||
));
|
||||
if (!$row || $row['status'] != 1 || $row['active_time'] < time()) {
|
||||
if (!$row || $row['status'] != 1 || ($row['active_time'] > 0 && $row['active_time'] < time())) {
|
||||
phpcommon\sendError(ERR_USER_BASE + 2, '没有这个道具');
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user