Merge branch 'master' of github.com:openvk/openvk

This commit is contained in:
veselcraft 2022-07-23 13:47:14 +03:00
commit e7425b86e1
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -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(); # костыли костыли крылышки