From 8808dc7aa0c819ab1a1a28b797a7a8d8ed038fa5 Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 12 Dec 2020 12:44:06 +1300 Subject: [PATCH] dev/core#2248 Ensure variables are assigned to tpl for urls --- CRM/Event/Form/Participant.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index a42a8d1b1d..d3cb1cff30 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -2299,6 +2299,10 @@ INNER JOIN civicrm_price_field_value value ON ( value.id = lineItem.price_field_ CRM_Utils_System::appendBreadCrumb($breadCrumbs); } + else { + $this->assign('id', $this->_id); + $this->assign('contact_id', $this->_contactId); + } } } -- 2.25.1