Some PHP5 notices.

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@310 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
brego 2005-07-04 01:23:27 +00:00
parent 8a806d7fc5
commit ec53963d40
2 changed files with 15 additions and 11 deletions

View file

@ -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)
{

View file

@ -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;
}
}
}
}