fixes for php deprecation notices

This commit is contained in:
David Bomba
2026-01-19 14:44:20 +11:00
parent 0a949d3cf0
commit 87c147a1e6

View File

@@ -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;
}