From 1a0454c01f24056fbf504b26413cc74374f6e976 Mon Sep 17 00:00:00 2001 From: Celestora Date: Wed, 13 Oct 2021 23:26:27 +0300 Subject: [PATCH] fix typo --- Web/Presenters/CommentPresenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Presenters/CommentPresenter.php b/Web/Presenters/CommentPresenter.php index 6bc27ad2..eef84b6d 100644 --- a/Web/Presenters/CommentPresenter.php +++ b/Web/Presenters/CommentPresenter.php @@ -81,7 +81,7 @@ final class CommentPresenter extends OpenVKPresenter $comment->attach($photo); if(!is_null($video)) - $post->attach($video); + $comment->attach($video); if($entity->getOwner()->getId() !== $this->user->identity->getId()) if(($owner = $entity->getOwner()) instanceof User)