Unsetting local vars, so that viewVars with the name will be extracted.

This commit is contained in:
mark_story 2009-10-08 23:55:17 -04:00
parent f59d95e348
commit 955bd338e7

View file

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