From 366f8dad39ed453df79d53e30f6054a166830055 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 8 Aug 2011 11:19:01 -0500 Subject: [PATCH] refactoring the view class. --- system/view.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/system/view.php b/system/view.php index b324dd95..a94e232a 100644 --- a/system/view.php +++ b/system/view.php @@ -195,7 +195,10 @@ class View { foreach ($this->data as &$data) { - if ($data instanceof View or $data instanceof Response) $data = (string) $data; + if ($data instanceof View or $data instanceof Response) + { + $data = (string) $data; + } } extract($this->data, EXTR_SKIP);