Index: branches/5.2.x/units/orders/orders_tag_processor.php =================================================================== diff -u -N -r16248 -r16360 --- branches/5.2.x/units/orders/orders_tag_processor.php (.../orders_tag_processor.php) (revision 16248) +++ branches/5.2.x/units/orders/orders_tag_processor.php (.../orders_tag_processor.php) (revision 16360) @@ -1,6 +1,6 @@ 'm,ord', - 'ord_event' => ($type == 'coupon') ? 'OnRemoveCoupon' : 'OnRemoveGiftCertificate', - 'm_cat_id' => 0, - ); + if ( !isset($params['pass']) ) { + $params['pass'] = 'm,ord'; + } - return $this->Application->HREF('', '', $url_params); + $params['m_cat_id'] = 0; + + $link_type = $params['type']; + unset($params['type']); + + $params['ord_event'] = strtolower($link_type) == 'coupon' ? 'OnRemoveCoupon' : 'OnRemoveGiftCertificate'; + + return $this->ItemLink($params); } /**