VKAPI: Fix stupid error when attachments duplicated over and over

This commit is contained in:
veselcraft 2022-03-25 22:29:29 +03:00
parent e6759f089f
commit c4a0d5ed98
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -83,6 +83,8 @@ final class Wall extends VKAPIRequestHandler
$profiles[] = $from_id;
else
$groups[] = $from_id * -1;
$attachments = null; // free attachments so it will not clone everythingg
}
if($extended == 1)
@ -214,6 +216,8 @@ final class Wall extends VKAPIRequestHandler
$profiles[] = $from_id;
else
$groups[] = $from_id * -1;
$attachments = null; // free attachments so it will not clone everythingg
}
}