diff --git a/VKAPI/Handlers/Wall.php b/VKAPI/Handlers/Wall.php index 9c09a3ba..cb8a1ca2 100644 --- a/VKAPI/Handlers/Wall.php +++ b/VKAPI/Handlers/Wall.php @@ -142,7 +142,7 @@ final class Wall extends VKAPIRequestHandler } $flags = 0; - if($from_group == 1) + if($from_group == 1 && $wallOwner instanceof Club && $wallOwner->canBeModifiedBy($this->getUser())) $flags |= 0b10000000; if($signed == 1) $flags |= 0b01000000;