Fix PHP CS

This commit is contained in:
v-dumas
2025-11-17 15:04:19 +01:00
parent 53de040934
commit ed360edb83
3 changed files with 10 additions and 14 deletions

View File

@@ -427,8 +427,7 @@ abstract class User extends cmdbAbstractObject
$this->m_aCheckIssues[] = Dict::S('Class:User/Error:AdminProfileCannotBeRemovedBySelf');
}
}
}
elseif ($this->IsPrivilegedUser()) {
} elseif ($this->IsPrivilegedUser()) {
// Prevent Privileged User to be saved with profiles denying the access to the backoffice
$oSet->Rewind();
while ($oUserProfile = $oSet->Fetch()) {