Skip to content
This repository
Browse code

Reset user defined headers in reset()

This makes $headers consistent with other properties.
Fixes #2211
  • Loading branch information...
commit e21721aeb042557510eaf1c84d7359fca461b820 1 parent 7b023bc
Mark Story authored November 03, 2011
1  cake/libs/controller/components/email.php
@@ -429,6 +429,7 @@ function reset() {
429 429
 		$this->return = null;
430 430
 		$this->cc = array();
431 431
 		$this->bcc = array();
  432
+		$this->headers = array();
432 433
 		$this->subject = null;
433 434
 		$this->additionalParams = null;
434 435
 		$this->date = null;

0 notes on commit e21721a

Please sign in to comment.
Something went wrong with that request. Please try again.