Skip to content

Commit

Permalink
Unsetting local vars, so that viewVars with the name will be extracted.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 9, 2009
1 parent f59d95e commit 955bd33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cake/libs/view/view.php
Expand Up @@ -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);
Expand Down

0 comments on commit 955bd33

Please sign in to comment.