From 5a5d0b1af07873c1a44cf91c076af36015293aca Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 19 Jun 2021 10:06:07 +1200 Subject: [PATCH] Always assign mode to smarty We should assign regardless of nullity --- CRM/Event/Form/Participant.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index 951c2e0536..ef6af29020 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -325,9 +325,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment } $this->setCustomDataTypes(); - if ($this->_mode) { - $this->assign('participantMode', $this->_mode); - } + $this->assign('participantMode', $this->_mode); if ($this->_showFeeBlock) { $this->assign('showFeeBlock', TRUE); -- 2.25.1