admin: fix chandlerlogs

This commit is contained in:
veselcraft 2024-06-22 17:26:02 +03:00
parent 3707ae0772
commit 8786bd36fb
No known key found for this signature in database
GPG key ID: 9CF0B42766CCF7BA

View file

@ -688,7 +688,8 @@ final class AdminPresenter extends OpenVKPresenter
$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();
}
}