mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
that's why i need to refactor this
This commit is contained in:
parent
4bf6fce260
commit
4cf50790b1
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ final class Wall extends VKAPIRequestHandler
|
|||
$attachments[] = [
|
||||
"type" => "photo",
|
||||
"photo" => [
|
||||
"album_id" => $attachment->getAlbum()->getId(),
|
||||
"album_id" => $attachment->getAlbum() ? $attachment->getAlbum()->getId() : null,
|
||||
"date" => $attachment->getPublicationTime()->timestamp(),
|
||||
"id" => $attachment->getVirtualId(),
|
||||
"owner_id" => $attachment->getOwner()->getId(),
|
||||
|
|
Loading…
Reference in a new issue