Index: branches/5.2.x/units/products/products_tag_processor.php =================================================================== diff -u -N -r15053 -r15141 --- branches/5.2.x/units/products/products_tag_processor.php (.../products_tag_processor.php) (revision 15053) +++ branches/5.2.x/units/products/products_tag_processor.php (.../products_tag_processor.php) (revision 15141) @@ -1,6 +1,6 @@ Application->ConfigValue('Comm_Perpage_Products_Short'); } - $object =& $this->Application->recallObject( $this->getPrefixSpecial() , $this->Prefix.'_List', $params ); + $object = $this->Application->recallObject( $this->getPrefixSpecial() , $this->Prefix.'_List', $params ); switch($params['ListType']) { @@ -281,7 +281,7 @@ if ($object->GetDBField('HasRequiredOptions')) { $t = $params['product_template']; if (!$t) { - $theme =& $this->Application->recallObject('theme.current'); + $theme = $this->Application->recallObject('theme.current'); if ($theme->GetDBField('Name') == 'onlinestore') { $t = 'in-commerce/product/details'; } @@ -331,10 +331,10 @@ } $params['p_id'] = $product_id; - $product =& $this->Application->recallObject($this->getPrefixSpecial()); + $product = $this->Application->recallObject($this->getPrefixSpecial()); $params['m_cat_id'] = $product->GetDBField('CategoryId'); - $main_processor =& $this->Application->recallObject('m_TagProcessor'); + $main_processor = $this->Application->recallObject('m_TagProcessor'); return $main_processor->T($params); } @@ -425,13 +425,13 @@ function ListReviews($params) { - $review_tag_processor =& $this->Application->recallObject('rev.product_TagProcessor'); + $review_tag_processor = $this->Application->recallObject('rev.product_TagProcessor'); return $review_tag_processor->PrintList($params); } function ReviewCount($params) { - $review_tag_processor =& $this->Application->recallObject('rev.product_TagProcessor'); + $review_tag_processor = $this->Application->recallObject('rev.product_TagProcessor'); return $review_tag_processor->TotalRecords($params); } @@ -475,7 +475,7 @@ function AlreadyReviewed($params) { - $rev_tag_processor =& $this->Application->recallObject('rev_TagProcessor'); + $rev_tag_processor = $this->Application->recallObject('rev_TagProcessor'); return $rev_tag_processor->AlreadyReviewed($params); } @@ -555,7 +555,7 @@ function UniqueFileName($params) { - $file_object =& $this->Application->recallObject('file.downl'); + $file_object = $this->Application->recallObject('file.downl'); return ($file_object->GetDBField('Name') && $file_object->GetDBField('Name') != $file_object->GetDBField('FilePath')) ? 1 : 0; @@ -574,7 +574,7 @@ if (!$download_helper_class) { $download_helper_class = 'DownloadHelper'; } - $download_helper =& $this->Application->recallObject($download_helper_class); + $download_helper = $this->Application->recallObject($download_helper_class); if (!$download_helper->CheckAccess($file_id, $product_id)) { $this->Application->ApplicationDie('File Access permission check failed!'); } @@ -647,7 +647,7 @@ function ListShippingTypes($params) { - $quote_engine_collector =& $this->Application->recallObject('ShippingQuoteCollector'); + $quote_engine_collector = $this->Application->recallObject('ShippingQuoteCollector'); /* @var $quote_engine_collector ShippingQuoteCollector */ $types = $quote_engine_collector->GetAvailableShippingTypes(); @@ -706,7 +706,7 @@ } if (isset($params['currency'])) { - $lang =& $this->Application->recallObject('lang.current'); + $lang = $this->Application->recallObject('lang.current'); /* @var $lang LanguagesItem */ $iso = $this->GetISO($params['currency']);