From a48f604a5cebe5079ef2a2540e2126780c920177 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 15 Sep 2023 15:29:00 +1200 Subject: [PATCH] Remove broken recaptcha from profile preview The reCaptcha variable is never assigned to profile preview - resulting in it never rendering (but rendering notices). This code has been broken for a while without someone noticing - remove --- templates/CRM/UF/Form/Preview.tpl | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/CRM/UF/Form/Preview.tpl b/templates/CRM/UF/Form/Preview.tpl index 056c2b278f..be3c55603e 100644 --- a/templates/CRM/UF/Form/Preview.tpl +++ b/templates/CRM/UF/Form/Preview.tpl @@ -25,9 +25,6 @@ {assign var=zeroField value="Initial Non Existent Fieldset"} {assign var=fieldset value=$zeroField} {include file="CRM/UF/Form/Fields.tpl"} - {if $addCAPTCHA } - {include file='CRM/common/ReCAPTCHA.tpl'} - {/if} {if $field.groupHelpPost}
{$field.groupHelpPost}
{/if} -- 2.25.1