Merge branch 'main' into develop

pull/85/head
iglocska 2022-01-19 14:59:34 +01:00
commit 87619a7f35
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class AuthKeysController extends AppController
if (!empty($userConditions)) {
$users->where($userConditions);
}
$users = $users->order(['username' => 'asc'])->all()->toList();
$users = $users->order(['username' => 'asc'])->all()->toArray();
$this->CRUD->add([
'displayOnSuccess' => 'authkey_display',
'beforeSave' => function($data) use ($users) {