fix
This commit is contained in:
parent
2cb0b2e2df
commit
44998b7575
@ -471,12 +471,15 @@ class AddReward {
|
||||
$status = 1;
|
||||
}
|
||||
} else {
|
||||
if ($row['active_time'] < time() + $time * 3600) {
|
||||
if ($row['active_time'] > 0 && $row['active_time'] < time() + $time * 3600) {
|
||||
$nowTime = time() + $time * 3600;
|
||||
}
|
||||
}
|
||||
if ($t == 0) {
|
||||
$status = $this->getStatus($item_id, $status,$accountid);
|
||||
if ($status == 2 && $nowTime > time()) {
|
||||
$status = 1;
|
||||
}
|
||||
} else if ($t == 1){
|
||||
$status = 0;
|
||||
$this->updateStatus($item_id, $accountid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user