mirror of
https://github.com/v2board/v2board.git
synced 2025-06-12 12:37:54 +08:00
feature: fuzzy search
This commit is contained in:
@ -119,7 +119,7 @@ class OrderService
|
||||
private function orderIsUsed(Order $order):bool
|
||||
{
|
||||
$month = self::STRTOTIME[$order->cycle];
|
||||
$orderExpireDay = strtotime('+'. $month . ' month', $order->created_at->timestamp);
|
||||
$orderExpireDay = strtotime('+' . $month . ' month', $order->created_at->timestamp);
|
||||
if ($orderExpireDay < time()) return true;
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user