From 3809b82cecc17f231d27ff9bc3461f8bb241ef7d Mon Sep 17 00:00:00 2001 From: lalka2016 <99399973+lalka2016@users.noreply.github.com> Date: Mon, 31 Jul 2023 10:48:27 +0300 Subject: [PATCH] fck --- VKAPI/Handlers/Wall.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VKAPI/Handlers/Wall.php b/VKAPI/Handlers/Wall.php index 38033ea7..3b93be2f 100644 --- a/VKAPI/Handlers/Wall.php +++ b/VKAPI/Handlers/Wall.php @@ -65,8 +65,8 @@ final class Wall extends VKAPIRequestHandler $iteratorv = $posts->getSuggestedPosts($owner_id * -1, 1, $count, $offset); $cnt = $posts->getSuggestedPostsCount($owner_id * -1); } else { - $iteratorv = $posts->getSuggestedPosts($owner_id * -1, 1, $count, $offset); - $cnt = $posts->getSuggestedPostsCount($owner_id * -1); + $iteratorv = $posts->getSuggestedPostsByUser($owner_id * -1, $this->getUser()->getId(), 1, $count, $offset); + $cnt = $posts->getSuggestedPostsCountByUser($owner_id * -1, $this->getUser()->getId()); } } else { $this->fail(528, "Suggested posts avaiable only at groups");