Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5819,6 +5819,10 @@ function split_emaildetail($email) {
$rname = '';
$rmail = '';

if (!is_array($email)) {
$email = trim($email);
}

/**
* Handle the special case where sendmail is being used
* without an email domain
Expand All @@ -5828,7 +5832,7 @@ function split_emaildetail($email) {
}

/**
* Handle the case where the Email is a tring, but may
* Handle the case where the Email is a string, but may
* include the name at the beginning of the Email.
*/
if (!is_array($email) && strpos($email, '@') !== false) {
Expand Down
Loading