From 0f6c23a5e0ef93866169168918ea553bf989f017 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 21 Sep 2015 20:03:33 +0000 Subject: [PATCH] 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 --- mail/inc/class.mail_compose.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_compose.inc.php b/mail/inc/class.mail_compose.inc.php index dd84a204db..0d2be223d0 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -3324,7 +3324,7 @@ class mail_compose $_rfcAddr=$rfcAddr->first(); 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;