mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
VKAPI: Fix some stupid code quirks
This commit is contained in:
parent
8c314adf6c
commit
b3aa8e41b1
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ final class Wall extends VKAPIRequestHandler
|
|||
|
||||
foreach($attachment->getChildren() as $repostAttachment) {
|
||||
if($repostAttachment instanceof \openvk\Web\Models\Entities\Photo) {
|
||||
if($attachment->isDeleted())
|
||||
if($repostAttachment->isDeleted())
|
||||
continue;
|
||||
|
||||
$repostAttachments[] = $this->getApiPhoto($repostAttachment);
|
||||
|
|
Loading…
Reference in a new issue