mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
5d4e0e6a62
commit
fbb102445b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue