mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Some PHP5 notices.
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@310 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
8a806d7fc5
commit
ec53963d40
2 changed files with 15 additions and 11 deletions
|
@ -294,6 +294,7 @@ class Controller extends Object
|
|||
$view->parent =& $this->parent;
|
||||
$view->viewPath =& $this->viewPath;
|
||||
$view->params =& $this->params;
|
||||
$view->data =& $this->data;
|
||||
|
||||
foreach ($this->models as $key => $value)
|
||||
{
|
||||
|
|
|
@ -479,8 +479,11 @@ class View extends Object
|
|||
${$helper}->here = $this->here;
|
||||
${$helper}->params = $this->params;
|
||||
${$helper}->action = $this->action;
|
||||
//${$helper}->data = $this->data;
|
||||
//${$helper}->validationErrors = $this->validationErrors;
|
||||
${$helper}->data = $this->data;
|
||||
if(!empty($this->validationErrors))
|
||||
{
|
||||
${$helper}->validationErrors = $this->validationErrors;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue