Always assign noCid when the tpl is included
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 21 Sep 2023 05:19:43 +0000 (17:19 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 21 Sep 2023 05:19:43 +0000 (17:19 +1200)
commita5013c7cb472e2634d74ebae029edae0eec06506
tree236ae1f9c1acee59223dd909554daf59e28ba5b6
parent2d843b50df7bc09cc12cd983a1ce383d64595aa1
Always assign noCid when the tpl is included

Fixes notices by moving the assign out of the function that adds the form elements

This one only matters when smarty is in secure mode:
CRM/Contribute/Form/Contribution/Main.php
CRM/Core/Form.php
CRM/Event/Form/Registration/Register.php
templates/CRM/Member/Form/MembershipType.tpl
templates/CRM/common/cidzero.tpl