Update WallPresenter.php

This commit is contained in:
Dmitry Tretyakov 2023-10-25 17:18:30 +07:00
parent 2922204b48
commit 672a8400c3

View file

@ -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,
];