Index: branches/5.2.x/core/kernel/utility/formatters/upload_formatter.php =================================================================== diff -u -N -r15118 -r15137 --- branches/5.2.x/core/kernel/utility/formatters/upload_formatter.php (.../upload_formatter.php) (revision 15118) +++ branches/5.2.x/core/kernel/utility/formatters/upload_formatter.php (.../upload_formatter.php) (revision 15137) @@ -1,6 +1,6 @@ fileHelper =& $this->Application->recallObject('FileHelper'); + $this->fileHelper = $this->Application->recallObject('FileHelper'); if ($this->DestinationPath) { $this->FullPath = FULL_PATH.$this->DestinationPath; @@ -163,7 +163,7 @@ $storage_format = isset($options['storage_format']) ? $options['storage_format'] : false; if ( $storage_format ) { - $image_helper =& $this->Application->recallObject('ImageHelper'); + $image_helper = $this->Application->recallObject('ImageHelper'); /* @var $image_helper ImageHelper */ move_uploaded_file($value['tmp_name'], $value['tmp_name'] . '.jpg'); // add extension, so ResizeImage can work @@ -313,7 +313,7 @@ $upload_dir = isset($options['upload_dir']) ? $options['upload_dir'] : $this->DestinationPath; if (preg_match('/resize:([\d]*)x([\d]*)/', $format, $regs)) { - $image_helper =& $this->Application->recallObject('ImageHelper'); + $image_helper = $this->Application->recallObject('ImageHelper'); /* @var $image_helper ImageHelper */ if (array_key_exists('include_path', $options) && $options['include_path']) { @@ -356,7 +356,7 @@ break; case 'img_size': - $image_helper =& $this->Application->recallObject('ImageHelper'); + $image_helper = $this->Application->recallObject('ImageHelper'); /* @var $image_helper ImageHelper */ $image_info = $image_helper->getImageInfo(FULL_PATH . str_replace('/', DIRECTORY_SEPARATOR, $upload_dir) . $value);