Permalink
Browse files

Fixing 'Only variables should be assigned by reference' errors in php…

…4 in form helper. Fixes #643
  • Loading branch information...
1 parent 1c1c511 commit 1c3415759a4e8abe6109be1d95c94db349c3d7ab @markstory markstory committed May 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/libs/view/helpers/form.php
@@ -213,7 +213,7 @@ function create($model = null, $options = array()) {
}
}
- $object =& $this->_introspectModel($model);
+ $object = $this->_introspectModel($model);
$this->setEntity($model . '.', true);
$modelEntity = $this->model();

0 comments on commit 1c34157

Please sign in to comment.