From e50b5c2832235149787244a171146fc6e08f5f2c Mon Sep 17 00:00:00 2001 From: yashodha Date: Wed, 1 Feb 2023 10:45:41 +0530 Subject: [PATCH] fix the id help instead use class help --- templates/CRM/Contribute/Form/Contribution/MembershipBlock.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Contribute/Form/Contribution/MembershipBlock.tpl b/templates/CRM/Contribute/Form/Contribution/MembershipBlock.tpl index 51d6ab1abd..796834c64b 100644 --- a/templates/CRM/Contribute/Form/Contribution/MembershipBlock.tpl +++ b/templates/CRM/Contribute/Form/Contribution/MembershipBlock.tpl @@ -34,7 +34,7 @@ {if !empty($membershipTypes)} {foreach from=$membershipTypes item=row} {if array_key_exists( 'current_membership', $row )} -
+
{* Lifetime memberships have no end-date so current_membership array key exists but is NULL *} {if $row.current_membership} {if $row.current_membership|crmDate:"%Y%m%d" LT $smarty.now|crmDate:"%Y%m%d"} -- 2.25.1