mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
VKAPI: Fix stupid error when attachments duplicated over and over
This commit is contained in:
parent
e6759f089f
commit
c4a0d5ed98
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue