diff --git a/Web/Presenters/CommentPresenter.php b/Web/Presenters/CommentPresenter.php index 1511aef4..ddd94c65 100644 --- a/Web/Presenters/CommentPresenter.php +++ b/Web/Presenters/CommentPresenter.php @@ -1,8 +1,8 @@ isClosed()) $this->notFound(); - if($entity instanceof Post && $entity->getTargetWall() > 0) + if($entity instanceof Post && $entity->getTargetWall() < 0) $club = (new Clubs)->get(abs($entity->getTargetWall())); else if($entity instanceof Topic) $club = $entity->getClub();