Skip to content

Commit

Permalink
Reverting previous change that prevent entry into a special case.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 23, 2011
1 parent 70744f3 commit 8bfc0a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Network/CakeResponse.php
Expand Up @@ -300,7 +300,7 @@ class CakeResponse {
* *
* @var string * @var string
*/ */
protected $_body = ''; protected $_body = null;


/** /**
* The charset the response body is encoded with * The charset the response body is encoded with
Expand Down Expand Up @@ -662,6 +662,6 @@ public function download($filename) {
* @return string * @return string
*/ */
public function __toString() { public function __toString() {
return $this->_body; return (string)$this->_body;
} }
} }

0 comments on commit 8bfc0a8

Please sign in to comment.