From b4dce8b7f4908b6262838778c4a6eb9b2f031bd2 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 21 Sep 2015 22:32: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 d34cf09f19..e69f407da1 100644 --- a/mail/inc/class.mail_compose.inc.php +++ b/mail/inc/class.mail_compose.inc.php @@ -3307,7 +3307,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;