Browse files

Reset user defined headers in reset()

This makes $headers consistent with other properties.
Fixes #2211
  • Loading branch information...
1 parent 7b023bc commit e21721aeb042557510eaf1c84d7359fca461b820 @markstory markstory committed Nov 3, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 cake/libs/controller/components/email.php
View
1 cake/libs/controller/components/email.php
@@ -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;

0 comments on commit e21721a

Please sign in to comment.