mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update: fix
This commit is contained in:
parent
7a80950ab5
commit
d95974019a
@ -50,7 +50,7 @@ class CheckOrder extends Command
|
||||
switch ($item->status) {
|
||||
// cancel
|
||||
case 0:
|
||||
if (strtotime($item->created_at) <= (time() - 1800)) {
|
||||
if ($item->created_at <= (time() - 1800)) {
|
||||
$orderService->cancel();
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user