Index: branches/5.2.x/core/kernel/db/cat_tag_processor.php =================================================================== diff -u -N -r15012 -r15137 --- branches/5.2.x/core/kernel/db/cat_tag_processor.php (.../cat_tag_processor.php) (revision 15012) +++ branches/5.2.x/core/kernel/db/cat_tag_processor.php (.../cat_tag_processor.php) (revision 15137) @@ -1,6 +1,6 @@ Application->recallObject('ThemesHelper'); + $themes_helper = $this->Application->recallObject('ThemesHelper'); /* @var $themes_helper kThemesHelper */ - $site_config_helper =& $this->Application->recallObject('SiteConfigHelper'); + $site_config_helper = $this->Application->recallObject('SiteConfigHelper'); /* @var $site_config_helper SiteConfigHelper */ $settings = $site_config_helper->getSettings(); @@ -190,15 +190,15 @@ { $prefix = $this->Prefix . '-rev'; - $review_tag_processor =& $this->Application->recallObject($prefix . '.item_TagProcessor'); + $review_tag_processor = $this->Application->recallObject($prefix . '.item_TagProcessor'); /* @var $review_tag_processor kDBTagProcessor */ return $review_tag_processor->PrintList($params); } function ReviewCount($params) { - $review_tag_processor =& $this->Application->recallObject('rev.item_TagProcessor'); + $review_tag_processor = $this->Application->recallObject('rev.item_TagProcessor'); /* @var $review_tag_processor kDBTagProcessor */ return $review_tag_processor->TotalRecords($params); @@ -305,7 +305,7 @@ */ function HasPermission($params) { - $perm_helper =& $this->Application->recallObject('PermissionsHelper'); + $perm_helper = $this->Application->recallObject('PermissionsHelper'); /* @var $perm_helper kPermissionsHelper */ $params['raise_warnings'] = 0; @@ -523,7 +523,7 @@ $object =& $this->getObject($params); /* @var $object kDBItem */ - $rating_helper =& $this->Application->recallObject('RatingHelper'); + $rating_helper = $this->Application->recallObject('RatingHelper'); /* @var $rating_helper RatingHelper */ $small_style = array_key_exists('small_style', $params) ? $params['small_style'] : false; @@ -655,7 +655,7 @@ $format = isset($params['format']) ? $params['format'] : '_regional_DateTimeFormat'; if ( preg_match("/_regional_(.*)/", $format, $regs) ) { - $lang =& $this->Application->recallObject('lang.current'); + $lang = $this->Application->recallObject('lang.current'); /* @var $lang LanguagesItem */ if ( $regs[1] == 'DateTimeFormat' ) { @@ -679,7 +679,7 @@ */ function ItemCount($params) { - $count_helper =& $this->Application->recallObject('CountHelper'); + $count_helper = $this->Application->recallObject('CountHelper'); /* @var $count_helper kCountHelper */ $today_only = isset($params['today']) && $params['today']; @@ -698,7 +698,7 @@ $title_field = $this->Application->getUnitOption('c', 'TitleField'); $table_name = $this->Application->getUnitOption('c', 'TableName'); - $count_helper =& $this->Application->recallObject('CountHelper'); + $count_helper = $this->Application->recallObject('CountHelper'); /* @var $count_helper kCountHelper */ list ($view_perm, $view_filter) = $count_helper->GetPermissionClause('c', 'perm_cache'); @@ -908,14 +908,14 @@ $object =& $this->getObject($params); /* @var $object kDBItem */ - $perm_helper =& $this->Application->recallObject('PermissionsHelper'); + $perm_helper = $this->Application->recallObject('PermissionsHelper'); /* @var $perm_helper kPermissionsHelper */ $perm_prefix = $this->Application->getUnitOption($this->Prefix, 'PermItemPrefix'); $categories = $perm_helper->getPermissionCategories($perm_prefix . '.' . ($object->IsNewItem() ? 'ADD' : 'MODIFY')); } - $json_helper =& $this->Application->recallObject('JSONHelper'); + $json_helper = $this->Application->recallObject('JSONHelper'); /* @var $json_helper JSONHelper */ return $json_helper->encode($categories);