Commit e4a252c5 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Pb en cli pour profiles

parent 2ced37a2
Loading
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Framework/src/User/UserManager.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ class UserManager
            // Changement du profil courant
            $role = $this->userContext->getSelectedIdentityRole();
            $profile = $this->getCurrentProfile();
            if ($role->getRoleId() !== $profile->getCode()) {
            if ($role?->getRoleId() !== $profile?->getCode()) {
                $this->updateCurrentProfile();
            }
        }