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 23:53:58 +0000 (11:53 +1200)
commit005713fb5ed1e32cf44afc6e79f5398cc78ba7a9
treefc8dbf73dfe756b770b30bd8ce6e20ac580f4297
parentf87b1d41eb7420a6434b75f87dbcac32bb103f6b
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