diff --git a/Web/Presenters/WallPresenter.php b/Web/Presenters/WallPresenter.php index 95df567e..68d648ed 100644 --- a/Web/Presenters/WallPresenter.php +++ b/Web/Presenters/WallPresenter.php @@ -74,7 +74,7 @@ final class WallPresenter extends OpenVKPresenter $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, ];