mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixed undefined variable
This commit is contained in:
parent
b6ef1305df
commit
5abd00e636
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ class View extends Object {
|
|||
$this->output = $this->_render($layoutFileName, $dataForLayout, $loadHelpers, true);
|
||||
|
||||
if ($this->output === false) {
|
||||
$this->output = $this->_render($layoutFileName, $data_for_layout);
|
||||
$this->output = $this->_render($layoutFileName, $dataForLayout);
|
||||
trigger_error(sprintf(__("Error in layout %s, got: <blockquote>%s</blockquote>", true), $layoutFileName, $this->output), E_USER_ERROR);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue