mirror of
https://github.com/openvk/openvk
synced 2024-11-14 11:09:12 +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) {
|
foreach($attachment->getChildren() as $repostAttachment) {
|
||||||
if($repostAttachment instanceof \openvk\Web\Models\Entities\Photo) {
|
if($repostAttachment instanceof \openvk\Web\Models\Entities\Photo) {
|
||||||
if($attachment->isDeleted())
|
if($repostAttachment->isDeleted())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
$repostAttachments[] = $this->getApiPhoto($repostAttachment);
|
$repostAttachments[] = $this->getApiPhoto($repostAttachment);
|
||||||
|
|
Loading…
Reference in a new issue