Skip to content
Permalink
Browse files

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

  • Loading branch information...
markstory committed Oct 9, 2009
1 parent f59d95e commit 955bd338e7b993cb5ff5099c49f8ec5faa0c622f
Showing with 1 addition and 0 deletions.
  1. +1 −0 cake/libs/view/view.php
@@ -680,6 +680,7 @@ function _render($___viewFn, $___dataForView, $loadHelpers = true, $cached = fal
$this->{$helpers[$i]} =& ${$name};
}
$this->_triggerHelpers('beforeRender');
unset($name, $loadedHelpers, $helpers, $i, $helperNames);
}
extract($___dataForView, EXTR_SKIP);

0 comments on commit 955bd33

Please sign in to comment.
You can’t perform that action at this time.