From 6593be82390c7dc68deca218a75efa86d655e1c8 Mon Sep 17 00:00:00 2001 From: phpnut Date: Wed, 4 Apr 2007 07:46:04 +0000 Subject: [PATCH] Adding fix to EmailComponent::_ _createHeader() that corrects addresses that are set in CC being added to BCC also git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4755 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/controller/components/email.php | 1 + 1 file changed, 1 insertion(+) diff --git a/cake/libs/controller/components/email.php b/cake/libs/controller/components/email.php index 5f74a8239..ae758c7b5 100644 --- a/cake/libs/controller/components/email.php +++ b/cake/libs/controller/components/email.php @@ -323,6 +323,7 @@ class EmailComponent extends Object{ $this->__header .= 'cc: ' . $addresses . $this->_newLine; //$this->to .= ', ' . $addresses; } + $addresses = null; if(!empty($this->bcc)) { foreach ($this->bcc as $bcc) { $addresses .= $this->__formatAddress($bcc) . ', ';