Fix crutch to correctly display the name of the group creator with Russian symbols

This commit is contained in:
Maxim Leshchenko 2021-11-12 18:18:48 +02:00 committed by GitHub
parent e4a90ec2bf
commit 818d7cbc02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,7 +117,7 @@
</a>
</div>
{* Это наверное костыль, ну да ладно *}
<div n:class="info, strlen($author->getCanonicalName()) < 22 ? info-centered" n:if="empty($club->getOwnerComment())">
<div n:class="info, mb_strlen($author->getCanonicalName()) < 22 ? info-centered" n:if="empty($club->getOwnerComment())">
<a href="{$author->getURL()}" class="title">{$author->getCanonicalName()}</a>
</div>
<div class="info" n:if="!empty($club->getOwnerComment())">