Fixing assigned by reference on php 4

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4942 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-04-30 09:42:39 +00:00
parent 5d4e0e6a62
commit fbb102445b

View file

@ -103,7 +103,7 @@ class FormHelper extends AppHelper {
$object =& ClassRegistry::getObject($model);
}
$models =& ClassRegistry::keys();
$models = ClassRegistry::keys();
foreach($models as $currentModel) {
if (ClassRegistry::isKeySet($currentModel)) {
$currentObject =& ClassRegistry::getObject($currentModel);