mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	update: fix close ticket rules
This commit is contained in:
		| @@ -41,6 +41,7 @@ class CheckTicket extends Command | |||||||
|         ini_set('memory_limit', -1); |         ini_set('memory_limit', -1); | ||||||
|         $tickets = Ticket::where('status', 0) |         $tickets = Ticket::where('status', 0) | ||||||
|             ->where('updated_at', '<=', time() - 24 * 3600) |             ->where('updated_at', '<=', time() - 24 * 3600) | ||||||
|  |             ->where('reply_status', 0) | ||||||
|             ->get(); |             ->get(); | ||||||
|         foreach ($tickets as $ticket) { |         foreach ($tickets as $ticket) { | ||||||
|             if ($ticket->user_id === $ticket->last_reply_user_id) continue; |             if ($ticket->user_id === $ticket->last_reply_user_id) continue; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user