From c91919a1c208a49740befdfe81a1a4ef6da152c4 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 25 May 2016 15:36:56 +0200 Subject: [PATCH] ShowController: allow for "better" exceptions... ...when rendering objects --- application/controllers/ShowController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/ShowController.php b/application/controllers/ShowController.php index edf47379..7b7439c6 100644 --- a/application/controllers/ShowController.php +++ b/application/controllers/ShowController.php @@ -140,7 +140,7 @@ class ShowController extends ActionController . ' disabled === 'y' ? ' class="disabled"' : '') . '>' - . $this->view->escape((string) $object) + . $this->view->escape($object->toConfigString()) . ''; }