From 955bd338e7b993cb5ff5099c49f8ec5faa0c622f Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 8 Oct 2009 23:55:17 -0400 Subject: [PATCH] Unsetting local vars, so that viewVars with the name will be extracted. --- cake/libs/view/view.php | 1 + 1 file changed, 1 insertion(+) diff --git a/cake/libs/view/view.php b/cake/libs/view/view.php index dc958407f..0c3aa4b26 100644 --- a/cake/libs/view/view.php +++ b/cake/libs/view/view.php @@ -680,6 +680,7 @@ class View extends Object { $this->{$helpers[$i]} =& ${$name}; } $this->_triggerHelpers('beforeRender'); + unset($name, $loadedHelpers, $helpers, $i, $helperNames); } extract($___dataForView, EXTR_SKIP);