From 0f37c16cd807406e5d0e2148750376102e9ae92a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 5 Aug 2013 14:56:39 +0000 Subject: [PATCH] using correct case: To, Cc and Bcc --- phpgwapi/inc/class.egw_mailer.inc.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/phpgwapi/inc/class.egw_mailer.inc.php b/phpgwapi/inc/class.egw_mailer.inc.php index 68bf50a4d6..f1ab06882f 100644 --- a/phpgwapi/inc/class.egw_mailer.inc.php +++ b/phpgwapi/inc/class.egw_mailer.inc.php @@ -244,7 +244,7 @@ class egw_mailer extends PHPMailer * Clears all recipients assigned in the TO array. Returns void. */ public function ClearAddresses() { - $this->addresses['to'] = array(); + $this->addresses['To'] = array(); parent::ClearAddresses(); } @@ -253,7 +253,7 @@ class egw_mailer extends PHPMailer * Clears all recipients assigned in the CC array. Returns void. */ public function ClearCCs() { - $this->addresses['cc'] = array(); + $this->addresses['Cc'] = array(); parent::ClearCCs(); } @@ -262,7 +262,7 @@ class egw_mailer extends PHPMailer * Clears all recipients assigned in the BCC array. Returns void. */ public function ClearBCCs() { - $this->addresses['bcc'] = array(); + $this->addresses['Bcc'] = array(); parent::ClearBCCs(); } @@ -271,9 +271,7 @@ class egw_mailer extends PHPMailer * Clears all recipients assigned in the TO, CC and BCC array. Returns void. */ public function ClearAllRecipients() { - $this->addresses['to'] = array(); - $this->addresses['cc'] = array(); - $this->addresses['bcc'] = array(); + $this->addresses = array(); parent::ClearAllRecipients(); }