mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
VKAPI: 500 error hotfix
This commit is contained in:
parent
299e5c6354
commit
543c46696d
1 changed files with 1 additions and 1 deletions
|
@ -673,7 +673,7 @@ final class Wall extends VKAPIRequestHandler
|
|||
"date" => $attachment->getPublicationTime()->timestamp(),
|
||||
"id" => $attachment->getVirtualId(),
|
||||
"owner_id" => $attachment->getOwner()->getId(),
|
||||
"sizes" => array_values($attachment->getVkApiSizes()),
|
||||
"sizes" => !is_null($attachment->getVkApiSizes()) ? array_values($attachment->getVkApiSizes()) : NULL,
|
||||
"text" => "",
|
||||
"has_tags" => false
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue