mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Unsetting local vars, so that viewVars with the name will be extracted.
This commit is contained in:
parent
f59d95e348
commit
955bd338e7
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue