From 4ce4590ad2ffc0919832814d65ee9ac38de3af9e Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 6 Aug 2021 18:56:39 +1200 Subject: [PATCH] Enotice fix This one is a bit of a brain twister but I'm pretty sure the re-ordered IF has the same result - but one less enotice --- templates/CRM/Contact/Form/Search/Advanced.tpl | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/templates/CRM/Contact/Form/Search/Advanced.tpl b/templates/CRM/Contact/Form/Search/Advanced.tpl index b8b9749a1f..81f7cce276 100644 --- a/templates/CRM/Contact/Form/Search/Advanced.tpl +++ b/templates/CRM/Contact/Form/Search/Advanced.tpl @@ -15,18 +15,12 @@
- {if !empty($ssID) or $rows} - {if $savedSearch} - {ts 1=$savedSearch.name}Edit %1 Smart Group Criteria{/ts} - {else} - {ts}Edit Search Criteria{/ts} - {/if} + {if !empty($savedSearch)} + {ts 1=$savedSearch.name}Edit %1 Smart Group Criteria{/ts} + {elseif !empty($ssID) or $rows} + {ts}Edit Search Criteria{/ts} {else} - {if $savedSearch} - {ts 1=$savedSearch.name}Edit %1 Smart Group Criteria{/ts} - {else} - {ts}Search Criteria{/ts} - {/if} + {ts}Search Criteria{/ts} {/if} {help id='id-advanced-intro'}
-- 2.25.1