mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 01:11:46 +08:00 
			
		
		
		
	update: laravel 7
This commit is contained in:
		| @@ -196,7 +196,7 @@ class OrderService | ||||
|     private function orderIsUsed(Order $order):bool | ||||
|     { | ||||
|         $month = self::STR_TO_TIME[$order->cycle]; | ||||
|         $orderExpireDay = strtotime('+' . $month . ' month', $order->created_at->timestamp); | ||||
|         $orderExpireDay = strtotime('+' . $month . ' month', $order->created_at); | ||||
|         if ($orderExpireDay < time()) return true; | ||||
|         return false; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user