From 602240c08ea0df091eadf4bedaea4db783638b17 Mon Sep 17 00:00:00 2001 From: Kyle Robinson Young Date: Wed, 5 Sep 2012 12:49:09 -0700 Subject: [PATCH] Fix $readReceipt variable in EmailComponent::send --- lib/Cake/Controller/Component/EmailComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Controller/Component/EmailComponent.php b/lib/Cake/Controller/Component/EmailComponent.php index d0f55ef62..702ec911d 100644 --- a/lib/Cake/Controller/Component/EmailComponent.php +++ b/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)); }