Skip to content

Commit

Permalink
Merge pull request fuel#6 from tomschlick/patch-1
Browse files Browse the repository at this point in the history
BCC and Reply To now work
  • Loading branch information
frankdejonge committed Oct 26, 2011
2 parents 8524a8c + 43808c0 commit 0cc7639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/email/driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -651,9 +651,9 @@ public function send($validate = null)

foreach (array('cc' => 'Cc', 'bcc' => 'Bcc', 'reply_to' => 'Reply-To') as $list => $header)
{
if (count($this->cc) > 0)
if (count($this->{$list}) > 0)
{
$this->set_header('Cc', static::format_addresses($this->cc));
$this->set_header($header, static::format_addresses($this->{$list}));
}
}

Expand Down

0 comments on commit 0cc7639

Please sign in to comment.