Skip to content

Commit

Permalink
admin: fix chandlerlogs
Browse files Browse the repository at this point in the history
  • Loading branch information
veselcraft committed Jun 22, 2024
1 parent 3707ae0 commit 8786bd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Web/Presenters/AdminPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,8 @@ function renderLogs(): void
$this->template->obj_type = $obj_type;
}

$this->template->logs = (new Logs)->search($filter);
$logs = iterator_to_array((new Logs)->search($filter));
$this->template->logs = $logs;
$this->template->object_types = (new Logs)->getTypes();
}
}

0 comments on commit 8786bd3

Please sign in to comment.