mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
fix typo
This commit is contained in:
parent
28e7eaa9e3
commit
1a0454c01f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue