Index: branches/5.2.x/core/units/images/image_event_handler.php =================================================================== diff -u -N -r15130 -r15137 --- branches/5.2.x/core/units/images/image_event_handler.php (.../image_event_handler.php) (revision 15130) +++ branches/5.2.x/core/units/images/image_event_handler.php (.../image_event_handler.php) (revision 15137) @@ -1,6 +1,6 @@ getEventParam('id'); - $object =& $this->Application->recallObject($event->Prefix . '.-item', $event->Prefix, Array ('skip_autoload' => true)); + $object = $this->Application->recallObject($event->Prefix . '.-item', $event->Prefix, Array ('skip_autoload' => true)); /* @var $object kDBItem */ if ( in_array($event->Name, Array ('OnBeforeDeleteFromLive', 'OnAfterClone')) ) { @@ -168,7 +168,7 @@ $object->Load($id); - $file_helper =& $this->Application->recallObject('FileHelper'); + $file_helper = $this->Application->recallObject('FileHelper'); /* @var $file_helper FileHelper */ $fields = Array ('LocalPath' => 'LocalImage', 'ThumbPath' => 'LocalThumb'); @@ -354,7 +354,7 @@ $object->addFilter('product_images', '%1$s.ResourceId = ' . $resource_id); } - $search_helper =& $this->Application->recallObject('SearchHelper'); + $search_helper = $this->Application->recallObject('SearchHelper'); /* @var $search_helper kSearchHelper */ $types = $event->getEventParam('types');