From 8100b89a5f9a511b1183d53cfd0c52ffdd13c036 Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Sun, 10 Apr 2022 16:19:26 +0100 Subject: [PATCH] Add smarty:nodefaults to default.tpl form. This allows core forms (e.g. search forms) to submit correctly, even with CIVICRM_SMARTY_DEFAULT_ESCAPE mode. Without this change, quote marks were turned into HTML attributes, meaning the form essentially had no method or action. --- templates/CRM/Form/default.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Form/default.tpl b/templates/CRM/Form/default.tpl index ee947e9a35..32a55b0f74 100644 --- a/templates/CRM/Form/default.tpl +++ b/templates/CRM/Form/default.tpl @@ -8,7 +8,7 @@ +--------------------------------------------------------------------+ *} {if !$suppressForm} -
+ {crmRegion name='form-top'}{/crmRegion} {/if} -- 2.25.1