From d22f24666b24313b358d3c6fcc086b27a5a90089 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 5 Aug 2013 13:44:44 +0000 Subject: [PATCH] ClearAllRecipients should only clear recipients, not From, ReplyTo and such --- phpgwapi/inc/class.egw_mailer.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_mailer.inc.php b/phpgwapi/inc/class.egw_mailer.inc.php index 110eeaaa07..68bf50a4d6 100644 --- a/phpgwapi/inc/class.egw_mailer.inc.php +++ b/phpgwapi/inc/class.egw_mailer.inc.php @@ -271,7 +271,9 @@ class egw_mailer extends PHPMailer * Clears all recipients assigned in the TO, CC and BCC array. Returns void. */ public function ClearAllRecipients() { - $this->addresses = array(); + $this->addresses['to'] = array(); + $this->addresses['cc'] = array(); + $this->addresses['bcc'] = array(); parent::ClearAllRecipients(); }