mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
Update WallPresenter.php
This commit is contained in:
parent
b70c6c96bb
commit
aba5a1b49a
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ final class WallPresenter extends OpenVKPresenter
|
||||||
$this->template->paginatorConf = (object) [
|
$this->template->paginatorConf = (object) [
|
||||||
"count" => sizeof($posts),
|
"count" => sizeof($posts),
|
||||||
"page" => (int) ($_GET["p"] ?? 1),
|
"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,
|
"perPage" => $perPage,
|
||||||
];
|
];
|
||||||
$this->template->posts = [];
|
$this->template->posts = [];
|
||||||
|
|
Loading…
Reference in a new issue