mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
Groups: Display current page in list of user groups
This commit is contained in:
parent
948719ec3d
commit
48bfd36807
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ final class UserPresenter extends OpenVKPresenter
|
|||
$this->flashFail("err", tr("forbidden"), tr("forbidden_comment"));
|
||||
else {
|
||||
$this->template->user = $user;
|
||||
$this->template->page = $this->queryParam("p") ?? 1;
|
||||
$this->template->page = (int) ($this->queryParam("p") ?? 1);
|
||||
$this->template->admin = $this->queryParam("act") == "managed";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue