From 378983ec98e8f2ffae9b0e49114d862492c0b5f1 Mon Sep 17 00:00:00 2001 From: Marcus Lunzenauer Date: Thu, 29 Oct 2009 11:33:19 +0100 Subject: [PATCH] Controller#rescue does not have to set response --- lib/src/controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/controller.php b/lib/src/controller.php index 16d8549..e1cd1a3 100644 --- a/lib/src/controller.php +++ b/lib/src/controller.php @@ -400,7 +400,7 @@ function set_content_type($type) { * @return object a response object */ function rescue($exception) { - return ($this->response = $this->dispatcher->trails_error($exception)); + return $this->dispatcher->trails_error($exception); } }