Index: branches/5.2.x/core/units/category_items/category_items_tag_processor.php =================================================================== diff -u -N -r14628 -r15152 --- branches/5.2.x/core/units/category_items/category_items_tag_processor.php (.../category_items_tag_processor.php) (revision 14628) +++ branches/5.2.x/core/units/category_items/category_items_tag_processor.php (.../category_items_tag_processor.php) (revision 15152) @@ -1,6 +1,6 @@ SelectParam($params, 'name,field'); - $object =& $this->getObject($params); + $object = $this->getObject($params); /* @var $object kDBList */ $root_phrase = $this->Application->Phrase(($this->Application->isAdmin ? 'la_' : 'lu_') . 'rootcategory_name'); @@ -36,11 +36,11 @@ return $ret; } - function GetMainID() + function GetMainID($params) { - $object =& $this->getObject(); + $object = $this->getObject($params); $table_info = $object->getLinkedInfo(); - + return $table_info['ParentId']; } } \ No newline at end of file