From 26cefeefb59cbc031cef265b30f8eeeeb0d4e818 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 28 Feb 2023 08:56:51 +1300 Subject: [PATCH] Remove empty on location - it should always be set now See https://github.com/civicrm/civicrm-core/pull/25668 --- templates/CRM/common/formButtons.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/common/formButtons.tpl b/templates/CRM/common/formButtons.tpl index 649739f574..be89d454e1 100644 --- a/templates/CRM/common/formButtons.tpl +++ b/templates/CRM/common/formButtons.tpl @@ -30,7 +30,7 @@ {foreach from=$form.buttons item=button key=key name=btns} {if $key|substring:0:4 EQ '_qf_'} - {if !empty($location)} + {if $location} {$form.buttons.$key.html|crmReplace:id:"$key-$location"} {else} {$form.buttons.$key.html} -- 2.25.1