From fbb102445bd4c47ce04200f6a64481a2960f203d Mon Sep 17 00:00:00 2001 From: phpnut Date: Mon, 30 Apr 2007 09:42:39 +0000 Subject: [PATCH] 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 --- cake/libs/view/helpers/form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/view/helpers/form.php b/cake/libs/view/helpers/form.php index 17370cc1d..153d71eeb 100644 --- a/cake/libs/view/helpers/form.php +++ b/cake/libs/view/helpers/form.php @@ -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);