diff --git a/Web/Presenters/WallPresenter.php b/Web/Presenters/WallPresenter.php index 81bca320a..95df567e9 100644 --- a/Web/Presenters/WallPresenter.php +++ b/Web/Presenters/WallPresenter.php @@ -154,7 +154,7 @@ function renderFeed(): void $this->template->paginatorConf = (object) [ "count" => sizeof($posts), "page" => (int) ($_GET["p"] ?? 1), - "amount" => $posts->page((int) ($_GET["p"] ?? 1), $perPage)->getRowCount(), + "amount" => $posts->page((int) ($_GET["p"] ?? 1), $perPage)->count(), "perPage" => $perPage, ]; $this->template->posts = [];