forked from ZwiiCMS-Team/ZwiiCMS
059 filtrage des users en cours d'inscriptions dans module systeme user
This commit is contained in:
parent
179c1b5ca0
commit
84c3cb72c0
@ -301,6 +301,7 @@ class user extends common {
|
||||
$userIdsFirstnames = helper::arrayCollumn($this->getData(['user']), 'firstname');
|
||||
ksort($userIdsFirstnames);
|
||||
foreach($userIdsFirstnames as $userId => $userFirstname) {
|
||||
if ($this->getData(['user', $userId, 'group'])) {
|
||||
self::$users[] = [
|
||||
$userId,
|
||||
$userFirstname . ' ' . $this->getData(['user', $userId, 'lastname']),
|
||||
@ -316,6 +317,7 @@ class user extends common {
|
||||
])
|
||||
];
|
||||
}
|
||||
}
|
||||
// Valeurs en sortie
|
||||
$this->addOutput([
|
||||
'title' => 'Liste des utilisateurs',
|
||||
|
Loading…
Reference in New Issue
Block a user