cakephp/cakephp — pull request #1005 by dereuromark (2012-12-07 09:29:35+00:00)
Title: avoid fatal error

"Fatal error: Maximum function nesting level of '100' reached, aborting! in ...\lib\Cake\Network\CakeResponse.php on line 1127"

I was just modifying the result...

$res = $this->render('js_base');
$res = trim(JSMin::minify($res));
$this->response->body($res);

so we should make sure the setter casts to string here.