mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Maybe fix tickets list
This commit is contained in:
parent
e2dee72c69
commit
e48b696aeb
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ final class SupportPresenter extends OpenVKPresenter
|
||||||
$this->template->count = $this->tickets->getTicketsCountByUserId($this->user->id);
|
$this->template->count = $this->tickets->getTicketsCountByUserId($this->user->id);
|
||||||
if($this->template->mode === "list") {
|
if($this->template->mode === "list") {
|
||||||
$this->template->page = (int) ($this->queryParam("p") ?? 1);
|
$this->template->page = (int) ($this->queryParam("p") ?? 1);
|
||||||
$this->template->tickets = $this->tickets->getTicketsByUserId($this->user->id, $this->template->page);
|
$this->template->tickets = iterator_to_array($this->tickets->getTicketsByUserId($this->user->id, $this->template->page));
|
||||||
}
|
}
|
||||||
|
|
||||||
if($this->template->mode === "new")
|
if($this->template->mode === "new")
|
||||||
|
|
Loading…
Reference in a new issue