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
This commit is contained in:
phpnut 2007-04-04 07:46:04 +00:00
parent 4fb14b1506
commit 6593be8239

View file

@ -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) . ', ';