Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reset user defined headers in reset()

This makes $headers consistent with other properties.
Fixes #2211
  • Loading branch information...
commit e21721aeb042557510eaf1c84d7359fca461b820 1 parent 7b023bc
@markstory markstory authored
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;
Please sign in to comment.
Something went wrong with that request. Please try again.