From d5a11cdb71619e2792d7d63410c77d854fb91d91 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 8 Aug 2011 13:41:29 -0500 Subject: [PATCH] Cleaning up the view class. --- system/view.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/system/view.php b/system/view.php index c3298967..e1d7c9a5 100644 --- a/system/view.php +++ b/system/view.php @@ -196,10 +196,7 @@ public function get() 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);