From 8cd3f129c3500f092e4fffa7c4660c49ef489067 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Thu, 21 Sep 2023 19:30:13 -0400 Subject: [PATCH] js syntax error when false --- templates/CRM/Contribute/Form/Contribution/Main.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Contribute/Form/Contribution/Main.tpl b/templates/CRM/Contribute/Form/Contribution/Main.tpl index d3c8bc2955..5c6ab4f73c 100644 --- a/templates/CRM/Contribute/Form/Contribution/Main.tpl +++ b/templates/CRM/Contribute/Form/Contribution/Main.tpl @@ -323,7 +323,7 @@ function toggleRecur() { var isRecur = cj('input[id="is_recur"]:checked'); var allowAutoRenew = {/literal}'{$allowAutoRenewMembership}'{literal}; - var quickConfig = {/literal}{$quickConfig}{literal}; + var quickConfig = {/literal}'{$quickConfig}'{literal}; if (allowAutoRenew && cj("#auto_renew") && quickConfig) { showHideAutoRenew(null); } -- 2.25.1