This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_civicrm_alterMailParams(). | |
*/ | |
function cudar_civicrm_alterMailParams(&$params, $context) { | |
/* | |
* Redirection from payment gateway which trigger default event confirmation email is missing additional participants information and participants profiles. This is fix. | |
*/ | |
if (isset($params['groupName']) && $params['groupName'] == 'msg_tpl_workflow_event' && $params['valueName'] == 'event_online_receipt' && empty($params['tplParams']['part'] && !empty($params['tplParams']['lineItem']))) { |