Skip to content

Commit

Permalink
Update WallPresenter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tretdm committed Oct 25, 2023
1 parent b70c6c9 commit aba5a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web/Presenters/WallPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit aba5a1b

Please sign in to comment.