diff --git a/Web/Presenters/WallPresenter.php b/Web/Presenters/WallPresenter.php index 95df567e9..68d648ed2 100644 --- a/Web/Presenters/WallPresenter.php +++ b/Web/Presenters/WallPresenter.php @@ -74,7 +74,7 @@ function renderWall(int $user, bool $embedded = false): void $this->template->paginatorConf = (object) [ "count" => $this->template->count, "page" => (int) ($_GET["p"] ?? 1), - "amount" => $this->template->posts->getRowCount(), + "amount" => $this->template->posts->count(), "perPage" => OPENVK_DEFAULT_PER_PAGE, ];