count valide rôles

This commit is contained in:
Fred Tempez 2023-11-30 14:26:19 +01:00
parent ad1edcf9a2
commit a7cc6ee6d0

View File

@ -483,7 +483,9 @@ class user extends common
if ($this->getData(['user', $userId, 'group'])) {
// Compte les rôles
if (isset($profils[$this->getData(['user', $userId, 'group']) . $this->getData(['user', $userId, 'profil'])])) {
$profils[$this->getData(['user', $userId, 'group']) . $this->getData(['user', $userId, 'profil'])]++;
}
// Filtres
if ($this->isPost()) {