diff --git a/VKAPI/Handlers/Wall.php b/VKAPI/Handlers/Wall.php index 3abd9e21..932b682a 100644 --- a/VKAPI/Handlers/Wall.php +++ b/VKAPI/Handlers/Wall.php @@ -150,6 +150,8 @@ final class Wall extends VKAPIRequestHandler function getById(string $posts, int $extended = 0, string $fields = "", User $user = NULL) { + $this->requireUser(); + if($user == NULL) $user = $this->getUser(); # костыли костыли крылышки