Verification is required
This commit is contained in:
parent
9175946830
commit
e5f9e2aefc
|
|
@ -1096,7 +1096,7 @@ class PHPMailer
|
|||
|
||||
return false;
|
||||
}
|
||||
if ($name !== null) {
|
||||
if ($name !== null && is_string($name)) {
|
||||
$name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim
|
||||
} else {
|
||||
$name = '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue