From 8bfc0a859d2223512b13fa0afc4301912e534300 Mon Sep 17 00:00:00 2001 From: mark_story Date: Fri, 8 Jul 2011 21:23:02 -0400 Subject: [PATCH] Reverting previous change that prevent entry into a special case. --- lib/Cake/Network/CakeResponse.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Network/CakeResponse.php b/lib/Cake/Network/CakeResponse.php index db97d0eb3..6a9b29023 100644 --- a/lib/Cake/Network/CakeResponse.php +++ b/lib/Cake/Network/CakeResponse.php @@ -300,7 +300,7 @@ class CakeResponse { * * @var string */ - protected $_body = ''; + protected $_body = null; /** * The charset the response body is encoded with @@ -662,6 +662,6 @@ class CakeResponse { * @return string */ public function __toString() { - return $this->_body; + return (string)$this->_body; } }