mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
4fb14b1506
commit
6593be8239
1 changed files with 1 additions and 0 deletions
|
@ -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) . ', ';
|
||||
|
|
Loading…
Reference in a new issue