cakephp/cakephp — pull request #1139 by ADmad (2013-02-15 20:48:13+00:00)
Title: Prevent response object being set as response body

While fixing earlier I just did `!is_object($result)` instead of `!($result instanceof CakeResponse)` but that broke lot of tests, for eg. `ObjectTest::testRequestActionParamParseAndPass()`.

Apparently when using requestAction a CakeRequest instance gets set as response body. I find that pretty strange. The docblock for `CakeReponse::body()` is incorrect in that case as it says the `$content` argument should be a string.