Skip to content

Commit

Permalink
Maybe fix tickets list
Browse files Browse the repository at this point in the history
  • Loading branch information
mrilyew committed Oct 28, 2023
1 parent e2dee72 commit e48b696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web/Presenters/SupportPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function renderIndex(): void
$this->template->count = $this->tickets->getTicketsCountByUserId($this->user->id);
if($this->template->mode === "list") {
$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")
Expand Down

0 comments on commit e48b696

Please sign in to comment.