Permalink
Browse files

Reverting previous change that prevent entry into a special case.

  • Loading branch information...
1 parent 70744f3 commit 8bfc0a859d2223512b13fa0afc4301912e534300 @markstory markstory committed with markstory Jul 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 @@ public function download($filename) {
* @return string
*/
public function __toString() {
- return $this->_body;
+ return (string)$this->_body;
}
}

0 comments on commit 8bfc0a8

Please sign in to comment.