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)}.)