mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Strict comparisons.
This commit is contained in:
@@ -80,7 +80,7 @@ class MailError extends Job implements ShouldQueue
|
||||
Mail::send(
|
||||
['emails.error-html', 'emails.error-text'], $args,
|
||||
function (Message $message) use ($email) {
|
||||
if ($email != 'mail@example.com') {
|
||||
if ($email !== 'mail@example.com') {
|
||||
$message->to($email, $email)->subject('Caught an error in Firely III');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user