mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Fix 500 on repost in vkapi (#893)
This commit is contained in:
parent
7962a4efd7
commit
f898e973a2
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ final class Wall extends VKAPIRequestHandler
|
|||
$nPost->attach($post);
|
||||
|
||||
if($post->getOwner(false)->getId() !== $this->user->getId() && !($post->getOwner() instanceof Club))
|
||||
(new RepostNotification($post->getOwner(false), $post, $this->user->identity))->emit();
|
||||
(new RepostNotification($post->getOwner(false), $post, $this->user))->emit();
|
||||
|
||||
return (object) [
|
||||
"success" => 1, // 👍
|
||||
|
|
Loading…
Reference in a new issue