Skip to content

Commit

Permalink
Reset user defined headers in reset()
Browse files Browse the repository at this point in the history
This makes $headers consistent with other properties.
Fixes #2211
  • Loading branch information
markstory committed Nov 4, 2011
1 parent 7b023bc commit e21721a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cake/libs/controller/components/email.php
Expand Up @@ -429,6 +429,7 @@ function reset() {
$this->return = null;
$this->cc = array();
$this->bcc = array();
$this->headers = array();
$this->subject = null;
$this->additionalParams = null;
$this->date = null;
Expand Down

0 comments on commit e21721a

Please sign in to comment.