mirror of
https://github.com/openvk/openvk
synced 2025-04-23 08:33:02 +03:00
Update NotesPresenter.php
This commit is contained in:
parent
a1110d1af9
commit
78ff2f0461
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ final class NotesPresenter extends OpenVKPresenter
|
||||||
$user = (new Users)->get($owner);
|
$user = (new Users)->get($owner);
|
||||||
if(!$user) $this->notFound();
|
if(!$user) $this->notFound();
|
||||||
|
|
||||||
$this->template->notes = $this->notes->getUserNotes($user, $this->queryParam("p") ?? 1);
|
$this->template->notes = $this->notes->getUserNotes($user, (int)($this->queryParam("p") ?? 1));
|
||||||
$this->template->count = $this->notes->getUserNotesCount($user);
|
$this->template->count = $this->notes->getUserNotesCount($user);
|
||||||
$this->template->owner = $user;
|
$this->template->owner = $user;
|
||||||
$this->template->paginatorConf = (object) [
|
$this->template->paginatorConf = (object) [
|
||||||
|
|
Loading…
Reference in a new issue