[9.2.28] Compatibilité user edit module système avec module auto inscription
This commit is contained in:
parent
64104f59f2
commit
8a7377bfba
@ -33,7 +33,7 @@ class common {
|
|||||||
const TEMP_DIR = 'site/tmp/';
|
const TEMP_DIR = 'site/tmp/';
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '9.2.27';
|
const ZWII_VERSION = '9.2.28';
|
||||||
const ZWII_UPDATE_CHANNEL = "v9";
|
const ZWII_UPDATE_CHANNEL = "v9";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
|
@ -301,6 +301,7 @@ class user extends common {
|
|||||||
$userIdsFirstnames = helper::arrayCollumn($this->getData(['user']), 'firstname');
|
$userIdsFirstnames = helper::arrayCollumn($this->getData(['user']), 'firstname');
|
||||||
ksort($userIdsFirstnames);
|
ksort($userIdsFirstnames);
|
||||||
foreach($userIdsFirstnames as $userId => $userFirstname) {
|
foreach($userIdsFirstnames as $userId => $userFirstname) {
|
||||||
|
if ($this->getData(['user', $userId, 'group'])) {
|
||||||
self::$users[] = [
|
self::$users[] = [
|
||||||
$userId,
|
$userId,
|
||||||
$userFirstname . ' ' . $this->getData(['user', $userId, 'lastname']),
|
$userFirstname . ' ' . $this->getData(['user', $userId, 'lastname']),
|
||||||
@ -316,6 +317,7 @@ class user extends common {
|
|||||||
])
|
])
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// Valeurs en sortie
|
// Valeurs en sortie
|
||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
'title' => 'Liste des utilisateurs',
|
'title' => 'Liste des utilisateurs',
|
||||||
|
Loading…
Reference in New Issue
Block a user