If business email cannot be parsed, continue to home email.

Fixes bug where contacts with only personal email address were not shown in taglist-email
This commit is contained in:
Nathan Gray 2015-09-21 22:32:33 +00:00
parent eb41061212
commit b4dce8b7f4

View File

@ -3307,7 +3307,7 @@ class mail_compose
$_rfcAddr=$rfcAddr->first(); $_rfcAddr=$rfcAddr->first();
if (!$_rfcAddr->valid) if (!$_rfcAddr->valid)
{ {
break; // skip address if we encounter an error here continue; // skip address if we encounter an error here
} }
$email = $_rfcAddr->mailbox.'@'.$_rfcAddr->host; $email = $_rfcAddr->mailbox.'@'.$_rfcAddr->host;