mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	fix: bug
This commit is contained in:
		| @@ -88,8 +88,12 @@ class UserService | ||||
|         if (!$user->save()) { | ||||
|             return false; | ||||
|         } | ||||
|         $mailService = new MailService(); | ||||
|         $mailService->remindTraffic($user); | ||||
|         try { | ||||
|             $mailService = new MailService(); | ||||
|             $mailService->remindTraffic($user); | ||||
|         } catch (\Exception $e) { | ||||
|             return true; | ||||
|         } | ||||
|         return true; | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user