Index: branches/5.2.x/core/units/favorites/favorites_eh.php =================================================================== diff -u -N -r15130 -r15137 --- branches/5.2.x/core/units/favorites/favorites_eh.php (.../favorites_eh.php) (revision 15130) +++ branches/5.2.x/core/units/favorites/favorites_eh.php (.../favorites_eh.php) (revision 15137) @@ -1,6 +1,6 @@ Application->getUnitOption($event->Prefix, 'ParentPrefix'); - $parent_object =& $this->Application->recallObject($parent_prefix); + $parent_object = $this->Application->recallObject($parent_prefix); /* @var $parent_object kDBItem */ if (!$parent_object->isLoaded() || !$this->Application->CheckPermission('FAVORITES', 0, $parent_object->GetDBField('ParentPath'))) { @@ -87,7 +87,7 @@ $object->SetDBField('PortalUserId', $user_id); $parent_prefix = $this->Application->getUnitOption($event->Prefix, 'ParentPrefix'); - $parent_object =& $this->Application->recallObject($parent_prefix); + $parent_object = $this->Application->recallObject($parent_prefix); /* @var $parent_object kDBItem */ $object->SetDBField('ResourceId', $parent_object->GetDBField('ResourceId'));