* Api - Clear recipients between merges to avoid sending subsequent merges to previous contacts

This commit is contained in:
nathangray 2018-06-14 11:09:56 -06:00
parent ba55ea67cc
commit aea2b4d216

View File

@ -6938,6 +6938,7 @@ class Mail
{
$errorInfo = $email = '';
$sendOK = $openComposeWindow = $openAsDraft = null;
$mailObject->clearAllRecipients();
//error_log(__METHOD__.' ('.__LINE__.') '.' Id To Merge:'.$val);
if (/*$GLOBALS['egw_info']['flags']['currentapp'] == 'addressbook' &&*/
count($SendAndMergeTocontacts) > 1 && $val &&