diff --git a/VKAPI/Handlers/Wall.php b/VKAPI/Handlers/Wall.php index cf8e8fcf..f58feebf 100644 --- a/VKAPI/Handlers/Wall.php +++ b/VKAPI/Handlers/Wall.php @@ -201,8 +201,8 @@ final class Wall extends VKAPIRequestHandler else $groups[] = $from_id * -1; - /*if($post->isSigned()) - $profiles[] = $post->getOwner(false)->getId();*/ + if($post->isSigned()) + $profiles[] = $post->getOwner(false)->getId(); $attachments = NULL; # free attachments so it will not clone everythingg } @@ -392,8 +392,8 @@ final class Wall extends VKAPIRequestHandler else $groups[] = $from_id * -1; - /*if($post->isSigned()) - $profiles[] = $post->getOwner(false)->getId();*/ + if($post->isSigned()) + $profiles[] = $post->getOwner(false)->getId(); $attachments = NULL; # free attachments so it will not clone everything $repost = NULL; # same diff --git a/Web/Presenters/templates/Wall/Post.xml b/Web/Presenters/templates/Wall/Post.xml index 575c7bba..a0da7599 100644 --- a/Web/Presenters/templates/Wall/Post.xml +++ b/Web/Presenters/templates/Wall/Post.xml @@ -14,6 +14,20 @@ {/block} {block content} +
{include "../components/post.xml", post => $post, forceNoCommentsLink => TRUE, forceNoDeleteLink => TRUE}