From c3bd56d464f9827dfa88e58d21799d16c615e1aa Mon Sep 17 00:00:00 2001 From: gwoo Date: Thu, 28 Sep 2006 17:15:35 +0000 Subject: [PATCH] adding fix for #1461 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3582 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/view/helpers/cache.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cake/libs/view/helpers/cache.php b/cake/libs/view/helpers/cache.php index 541bf12dc..003631b8b 100644 --- a/cake/libs/view/helpers/cache.php +++ b/cake/libs/view/helpers/cache.php @@ -199,8 +199,7 @@ class CacheHelper extends Helper{ } $cache = convertSlash($this->here) . '.php'; - $file = ' - view->name . '\'); $this->controller = new ' . $this->view->name . 'Controller(); $this->helpers = unserialize(\'' . serialize($this->view->helpers) . '\'); @@ -232,8 +231,7 @@ class CacheHelper extends Helper{ } $this->loaded[$camelBackedHelper] = (${$camelBackedHelper}); } - ?> - ' . $file; + ?>' . $file; return cache('views' . DS . $cache, $file, $timestamp); } }