dev/core#2248 Ensure variables are assigned to tpl for urls
authoreileen <emcnaughton@wikimedia.org>
Fri, 11 Dec 2020 23:44:06 +0000 (12:44 +1300)
committereileen <emcnaughton@wikimedia.org>
Fri, 11 Dec 2020 23:44:08 +0000 (12:44 +1300)
CRM/Event/Form/Participant.php

index a42a8d1b1d8d85efb7da0c42f4f0f471615c12b0..d3cb1cff30d032359ff82c0a5980650a25d3d51c 100644 (file)
@@ -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);
+    }
   }
 
 }