mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Reverting previous change that prevent entry into a special case.
This commit is contained in:
parent
70744f3cb4
commit
8bfc0a859d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
@ -662,6 +662,6 @@ class CakeResponse {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function __toString() {
|
public function __toString() {
|
||||||
return $this->_body;
|
return (string)$this->_body;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue