mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Update WallPresenter.php
This commit is contained in:
parent
672a8400c3
commit
5e3b06a05b
1 changed files with 1 additions and 1 deletions
|
@ -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->count(),
|
||||
"amount" => sizeof($this->template->posts),
|
||||
"perPage" => OPENVK_DEFAULT_PER_PAGE,
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue