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); } }