fixed
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s

This commit is contained in:
2023-10-29 09:45:58 +01:00
parent cfa964b4c5
commit 35c496b187
2 changed files with 8 additions and 4 deletions

View File

@ -54,9 +54,13 @@ class User extends Model {
$u = new User();
$u->load($id);
if($filtered===true)
$users[$id] = $u->getDataFiltered();
$thisdata = $u->getDataFiltered();
else
$users[$id] = $u->data;
$thisdata = $u->data;
$thisdata['id'] = $id;
$users[] = $thisdata;
}
return $users;
}