Groups: Fix the display of groups for non-logged in users

This commit is contained in:
Maxim Leshchenko 2021-12-18 20:42:01 +02:00
parent af3dc6608e
commit cb8c2f683b
No known key found for this signature in database
GPG key ID: BB9C44A8733FBEEE

View file

@ -203,7 +203,7 @@
</div>
</div>
</div>
<div n:if="$topicsCount > 0 || $club->isEveryoneCanCreateTopics() || $club->canBeModifiedBy($thisUser)">
<div n:if="$topicsCount > 0 || $club->isEveryoneCanCreateTopics() || ($thisUser && $club->canBeModifiedBy($thisUser))">
<div class="content_title_expanded" onclick="hidePanel(this, {$topicsCount});">
{_discussions}
</div>