Remove empty on location - it should always be set now
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 27 Feb 2023 19:56:51 +0000 (08:56 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 27 Feb 2023 19:56:51 +0000 (08:56 +1300)
See https://github.com/civicrm/civicrm-core/pull/25668

templates/CRM/common/formButtons.tpl

index 649739f5741c709eccf1bd090535256cfbf10e4c..be89d454e1ebcf1d670d1c19c8b4fc82b9df09f0 100644 (file)
@@ -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}