Fixing issue where an AppController::appError would cause errors as $method was not a real method.

This commit is contained in:
mark_story 2010-11-27 14:35:36 -05:00
parent d3f0d25c03
commit 345779772d

View file

@ -159,8 +159,10 @@ class ExceptionRenderer {
* @return void
*/
public function render() {
if ($this->method) {
call_user_func_array(array($this, $this->method), array($this->error));
}
}
/**
* Generic handler for the internal framework errors CakePHP can generate.