From: Hypolite Petovan Date: Sat, 3 Dec 2022 09:17:54 +0000 (-0500) Subject: Ward against empty template variable in frio:contact/entry.tpl X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e389fe945f7445ba43c3586aded9496788530df0;p=friendica.git Ward against empty template variable in frio:contact/entry.tpl --- diff --git a/view/theme/frio/templates/contact/entry.tpl b/view/theme/frio/templates/contact/entry.tpl index 17436b5704..de6faa2204 100644 --- a/view/theme/frio/templates/contact/entry.tpl +++ b/view/theme/frio/templates/contact/entry.tpl @@ -89,7 +89,7 @@ {{* The contact description (e.g. Name, Network, kind of connection and so on *}}
-

{{$contact.name}} +

{{$contact.name}} {{if $contact.account_type}} ({{$contact.account_type}}){{/if}} {{if $contact.account_type == 'Forum'}}{{/if}} {{* @todo this needs some changing in core because $contact.account_type contains a translated string which may notbe the same in every language *}}