Fixing 'Only variables should be assigned by reference' errors in php4 in form helper. Fixes #643

This commit is contained in:
Mark Story 2010-05-06 22:11:31 -04:00
parent 1c1c511853
commit 1c3415759a

View file

@ -213,7 +213,7 @@ class FormHelper extends AppHelper {
}
}
$object =& $this->_introspectModel($model);
$object = $this->_introspectModel($model);
$this->setEntity($model . '.', true);
$modelEntity = $this->model();