Browse Source

Merge pull request #816 from shama/patch-email-component

Fix $readReceipt variable in EmailComponent::send
Mark Story 13 years ago
parent
commit
f1c2b1fba8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Controller/Component/EmailComponent.php

+ 1 - 1
lib/Cake/Controller/Component/EmailComponent.php

@@ -305,7 +305,7 @@ class EmailComponent extends Component {
 		if (!empty($this->return)) {
 			$lib->returnPath($this->_formatAddresses((array)$this->return));
 		}
-		if (!empty($readReceipt)) {
+		if (!empty($this->readReceipt)) {
 			$lib->readReceipt($this->_formatAddresses((array)$this->readReceipt));
 		}