mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2026-03-03 02:57:01 +00:00
fixes for php deprecation notices
This commit is contained in:
@@ -825,7 +825,7 @@ class NinjaMailerJob implements ShouldQueue
|
||||
}
|
||||
|
||||
/* Ensure the user has a valid email address */
|
||||
if (!str_contains($this->nmo->to_user->email, "@")) {
|
||||
if (!str_contains($this->nmo->to_user->email ?? '', "@")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user