$url = CRM_Utils_System::url('civicrm/event/view_cart');
CRM_Utils_System::setUFMessage(ts("<b>%1</b> has been added to your cart. <a href='%2'>View your cart.</a>", array(
1 => $event_in_cart->event->title,
- 2 => $url
+ 2 => $url,
)));
$transaction->commit();