mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Improve and slightly fix the last commit
This commit is contained in:
parent
3bbdb3c85b
commit
9826296256
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@
|
|||
<a href="{$comment->getUser()->getURL()}">
|
||||
<span class="nobold">
|
||||
{var lastName = $comment->getUser()->getLastName()}
|
||||
{if empty($lastName)}
|
||||
{$comment->getUser()->getFirstName()}
|
||||
{if empty($lastName) || $lastName == " "}
|
||||
({$comment->getUser()->getFirstName()})
|
||||
{else}
|
||||
({$comment->getUser()->getFirstName()} {iconv_substr($lastName, 0, 1)}.)
|
||||
{/if}
|
||||
|
|
Loading…
Reference in a new issue