From 9785ae1c9b276e6e42ce06d32398bb33939198f7 Mon Sep 17 00:00:00 2001 From: Maxim Leshchenko <50026114+maksalees@users.noreply.github.com> Date: Tue, 7 Dec 2021 20:50:14 +0200 Subject: [PATCH] Improve the last commit again :3 --- Web/Presenters/templates/Support/AnswerTicket.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Presenters/templates/Support/AnswerTicket.xml b/Web/Presenters/templates/Support/AnswerTicket.xml index 0ba70cee..fb1f456c 100644 --- a/Web/Presenters/templates/Support/AnswerTicket.xml +++ b/Web/Presenters/templates/Support/AnswerTicket.xml @@ -74,7 +74,7 @@ {var lastName = $comment->getUser()->getLastName()} - {if empty($lastName) || $lastName == " "} + {if empty(trim($lastName))} ({$comment->getUser()->getFirstName()}) {else} ({$comment->getUser()->getFirstName()} {iconv_substr($lastName, 0, 1)}.)