Index: branches/5.2.x/core/units/images/image_tag_processor.php =================================================================== diff -u -N -r15049 -r15137 --- branches/5.2.x/core/units/images/image_tag_processor.php (.../image_tag_processor.php) (revision 15049) +++ branches/5.2.x/core/units/images/image_tag_processor.php (.../image_tag_processor.php) (revision 15137) @@ -1,6 +1,6 @@ Application->getUnitOption($object->Prefix, 'ParentPrefix'); - $parent_item =& $this->Application->recallObject($parent_prefix); + $parent_item = $this->Application->recallObject($parent_prefix); /* @var $parent_item kDBItem */ $block_params['img_path'] = $image_url; @@ -83,10 +83,10 @@ function LoadItemImage($params) { - $parent_item =& $this->Application->recallObject($params['PrefixSpecial']); + $parent_item = $this->Application->recallObject($params['PrefixSpecial']); /* @var $parent_item kCatDBItem */ - $object =& $this->Application->recallObject($this->getPrefixSpecial(), null, Array('skip_autoload' => true)); + $object = $this->Application->recallObject($this->getPrefixSpecial(), null, Array('skip_autoload' => true)); /* @var $object kDBItem */ $object->Clear(); @@ -241,7 +241,7 @@ list ($max_width, $max_height) = $this->_transformParams($params, $max_width, $max_height); if ($object->isLoaded() && file_exists($src_image)) { - $image_helper =& $this->Application->recallObject('ImageHelper'); + $image_helper = $this->Application->recallObject('ImageHelper'); /* @var $image_helper ImageHelper */ return $image_helper->ResizeImage($src_image, $max_width, $max_height); @@ -281,7 +281,7 @@ return false; } - $file_helper =& $this->Application->recallObject('FileHelper'); + $file_helper = $this->Application->recallObject('FileHelper'); /* @var $file_helper FileHelper */ $dst_image = $file_helper->urlToPath($src_image); @@ -369,7 +369,7 @@ $sub_folder = $this->Application->isAdmin ? rtrim(IMAGES_PATH, '/') : THEMES_PATH; if (($max_width !== false) || ($max_height !== false)) { - $image_helper =& $this->Application->recallObject('ImageHelper'); + $image_helper = $this->Application->recallObject('ImageHelper'); /* @var $image_helper ImageHelper */ $src_image = FULL_PATH . $sub_folder . '/' . $default_image; @@ -388,7 +388,7 @@ // absolute url if (preg_match('/^(.*):\/\/(.*)$/U', $path)) { - $file_helper =& $this->Application->recallObject('FileHelper'); + $file_helper = $this->Application->recallObject('FileHelper'); /* @var $file_helper FileHelper */ return $file_helper->urlToPath($path); @@ -412,7 +412,7 @@ { $img_path = $this->getFullPath($params['img_path']); - $image_helper =& $this->Application->recallObject('ImageHelper'); + $image_helper = $this->Application->recallObject('ImageHelper'); /* @var $image_helper ImageHelper */ $max_width = $this->getImageDimension('Width', $params);