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 672a840 commit 5e3b06a
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 @@ -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->count(),
"amount" => sizeof($this->template->posts),
"perPage" => OPENVK_DEFAULT_PER_PAGE,
];

Expand Down

0 comments on commit 5e3b06a

Please sign in to comment.