diff --git a/Web/Presenters/WallPresenter.php b/Web/Presenters/WallPresenter.php
index 6dcc70fd..fc908ad0 100644
--- a/Web/Presenters/WallPresenter.php
+++ b/Web/Presenters/WallPresenter.php
@@ -250,8 +250,14 @@ final class WallPresenter extends OpenVKPresenter
$this->logPostView($post, $wall);
$this->template->post = $post;
- if ($post->getTargetWall() > 0) $this->template->wallOwner = (new Users)->get($post->getTargetWall());
- else $this->template->wallOwner = (new Clubs)->get($post->getTargetWall());
+ if ($post->getTargetWall() > 0)
+ {
+ $this->template->wallOwner = (new Users)->get($post->getTargetWall());
+ $this->template->isWallOfGroup = false;
+ } else {
+ $this->template->wallOwner = (new Clubs)->get(abs($post->getTargetWall()));
+ $this->template->isWallOfGroup = true;
+ }
$this->template->cCount = $post->getCommentsCount();
$this->template->cPage = (int) ($_GET["p"] ?? 1);
$this->template->comments = iterator_to_array($post->getComments($this->template->cPage));
diff --git a/Web/Presenters/templates/Wall/Post.xml b/Web/Presenters/templates/Wall/Post.xml
index 26db2119..4699c491 100644
--- a/Web/Presenters/templates/Wall/Post.xml
+++ b/Web/Presenters/templates/Wall/Post.xml
@@ -6,7 +6,7 @@
{$wallOwner->getCanonicalName()}
»
-
+
{_wall}
»