dev/core#4282 Fix isShowMembershipBlock
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 19 May 2023 02:47:39 +0000 (14:47 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 19 May 2023 02:49:33 +0000 (14:49 +1200)
commitdfc5fb948b0cb11947b3b75131b54b1c365f08b1
tree1f2d24de5ea9fdd47ecc48e297af9763dbb243ae
parent34b1302cef409a1f2d06f94b00ec709cc4ca3b89
dev/core#4282 Fix isShowMembershipBlock

As determined by Konadave & myself this
isShowMembershipBlock was always true when memberships were in
play in 5.60 - despite various code comments. I have renamed
& assigned it regardless of QuickConfig. Since it is
a condition of including the tpl & within it it already checks
the context I made the context check the top level check & removed the
isShowMembershipBlock check
CRM/Contribute/Form/ContributionBase.php
templates/CRM/Contribute/Form/Contribution/Main.tpl
templates/CRM/Contribute/Form/Contribution/MembershipBlock.tpl