Index: branches/5.2.x/core/units/reviews/reviews_tag_processor.php =================================================================== diff -u -N -r14628 -r14652 --- branches/5.2.x/core/units/reviews/reviews_tag_processor.php (.../reviews_tag_processor.php) (revision 14628) +++ branches/5.2.x/core/units/reviews/reviews_tag_processor.php (.../reviews_tag_processor.php) (revision 14652) @@ -1,6 +1,6 @@ Application->HREF($edit_template,'', $url_params); } + function HelpfulLink($params) + { + $object =& $this->getObject($params); + /* @var $object kDBItem */ + + $parent_prefix = $this->Application->getUnitOption($this->Prefix, 'ParentPrefix'); + $params['events[' . $parent_prefix . ']'] = 'OnReviewHelpful'; + $params['review_id'] = $object->GetID(); + + return $this->Application->ProcessParsedTag($parent_prefix, 'ItemLink', $params); + } + /** * Get's reuested field value *