mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-09 00:22:45 -04:00
parent
b70cda77d4
commit
d4dc0177c0
2 changed files with 4 additions and 2 deletions
|
|
@ -442,7 +442,7 @@ class Connection
|
|||
ldap_control_paged_result($this->ds, 0);
|
||||
}
|
||||
|
||||
return $entries; // TODO(7693): Sort entries post-processed
|
||||
return $entries;
|
||||
}
|
||||
|
||||
protected function cleanupAttributes($attrs)
|
||||
|
|
|
|||
|
|
@ -309,7 +309,9 @@ class AdminAccountPage extends Form
|
|||
}
|
||||
|
||||
try {
|
||||
return $backend->listUsers();
|
||||
$users = $backend->listUsers();
|
||||
natsort ($users);
|
||||
return $users;
|
||||
} catch (Exception $e) {
|
||||
// No need to handle anything special here. Error means no users found.
|
||||
return array();
|
||||
|
|
|
|||
Loading…
Reference in a new issue