asdjioashjgvkiushfgniukowrehjgiulwrhboi

This commit is contained in:
veselcraft 2022-10-25 13:18:02 +03:00
parent 6c29d40099
commit 6b2a6ae8cd
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -59,7 +59,10 @@ final class Wall extends VKAPIRequestHandler
} }
} }
$groups[] = $attachment->isPostedOnBehalfOfGroup() ? $attachment->getOwner()->getId() * -1 : $attachment->getOwner()->getId(); if ($attachment->isPostedOnBehalfOfGroup())
$groups[] = $attachment->getOwner()->getId();
else
$profiles[] = $attachment->getOwner()->getId();
$repost[] = [ $repost[] = [
"id" => $attachment->getVirtualId(), "id" => $attachment->getVirtualId(),