From b748fa810377204be7a3c5223fa60748f13df88f Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 15 Sep 2023 09:52:06 +1200 Subject: [PATCH] Fix notice on phone_ext --- templates/CRM/Event/Page/EventInfo.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Event/Page/EventInfo.tpl b/templates/CRM/Event/Page/EventInfo.tpl index 4c15e58ed5..46698b7216 100644 --- a/templates/CRM/Event/Page/EventInfo.tpl +++ b/templates/CRM/Event/Page/EventInfo.tpl @@ -158,7 +158,7 @@
{* @todo This should use "{ts 1=$phone.phone_type_display 2=$phone}%1: %2{/ts}" because some language have nbsp before column *} {if $phone.phone_type_id}{$phone.phone_type_display}:{else}{ts}Phone:{/ts}{/if} - {$phone.phone}{if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if} + {$phone.phone}{if array_key_exists('phone_ext', $phone)} {ts}ext.{/ts} {$phone.phone_ext}{/if}
{/if} {/foreach} -- 2.25.1