From: Eileen McNaughton Date: Mon, 27 Feb 2023 19:56:51 +0000 (+1300) Subject: Remove empty on location - it should always be set now X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=26cefeefb59cbc031cef265b30f8eeeeb0d4e818;p=civicrm-core.git Remove empty on location - it should always be set now See https://github.com/civicrm/civicrm-core/pull/25668 --- 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}