mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
ClearAllRecipients should only clear recipients, not From, ReplyTo and such
This commit is contained in:
parent
243bb169a2
commit
d22f24666b
@ -271,7 +271,9 @@ class egw_mailer extends PHPMailer
|
|||||||
* Clears all recipients assigned in the TO, CC and BCC array. Returns void.
|
* Clears all recipients assigned in the TO, CC and BCC array. Returns void.
|
||||||
*/
|
*/
|
||||||
public function ClearAllRecipients() {
|
public function ClearAllRecipients() {
|
||||||
$this->addresses = array();
|
$this->addresses['to'] = array();
|
||||||
|
$this->addresses['cc'] = array();
|
||||||
|
$this->addresses['bcc'] = array();
|
||||||
|
|
||||||
parent::ClearAllRecipients();
|
parent::ClearAllRecipients();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user