Improve the last commit again :3

This commit is contained in:
Maxim Leshchenko 2021-12-07 20:50:14 +02:00 committed by GitHub
parent 9826296256
commit 9785ae1c9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@
<a href="{$comment->getUser()->getURL()}">
<span class="nobold">
{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)}.)