UnionOfRAD/lithium — pull request #624 by pixelcog (2012-09-03 22:09:03+00:00)
Title: Fix for Renderer::_render() with no set $request property.

Quick fix in the renderer class for instances when $_request is null. I encountered this when attaching my own error handler method which was not attached to Dispatch::run() as the example error handler is, and thus the request object was not available.

My error template called $this->_render() to include a template element and this raised an ErrorException "Trying to get property of non-object in [...]/Projects/Lithium/dev/li3_core/libraries/lithium/template/view/Renderer.php on line 490";