count valide rôles
This commit is contained in:
parent
ad1edcf9a2
commit
a7cc6ee6d0
@ -483,7 +483,9 @@ class user extends common
|
|||||||
if ($this->getData(['user', $userId, 'group'])) {
|
if ($this->getData(['user', $userId, 'group'])) {
|
||||||
|
|
||||||
// Compte les rôles
|
// Compte les rôles
|
||||||
$profils[$this->getData(['user', $userId, 'group']) . $this->getData(['user', $userId, 'profil'])]++;
|
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
|
// Filtres
|
||||||
if ($this->isPost()) {
|
if ($this->isPost()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user