mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Groups: Fix discussions
Again. Pardon :3
This commit is contained in:
parent
066ebc1c6f
commit
c1707a5991
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class Topic extends Postable
|
|||
|
||||
function canBeModifiedBy(User $user): bool
|
||||
{
|
||||
return $this->getOwner(false)->getId() === $user->getId() || $this->club->canBeModifiedBy($user);
|
||||
return $this->getOwner(false)->getId() === $user->getId() || $this->getClub()->canBeModifiedBy($user);
|
||||
}
|
||||
|
||||
function getLastComment(): ?Comment
|
||||
|
|
Loading…
Reference in a new issue