Permalink
Browse files

Fix $readReceipt variable in EmailComponent::send

  • Loading branch information...
1 parent c7647b7 commit 602240c08ea0df091eadf4bedaea4db783638b17 @shama shama committed Sep 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Controller/Component/EmailComponent.php
@@ -305,7 +305,7 @@ public function send($content = null, $template = null, $layout = null) {
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));
}

0 comments on commit 602240c

Please sign in to comment.