We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d46fe6 commit 3955b4eCopy full SHA for 3955b4e
core/userrights.class.inc.php
@@ -415,12 +415,7 @@ public function DoCheckToWrite()
415
$this->m_aCheckIssues[] = Dict::S('Class:User/Error:CurrentProfilesHaveInsufficientRights');
416
}
417
$oAddon->ResetCache();
418
-
419
- if (is_null($aCurrentProfiles)) {
420
- Session::IsSet('profile_list');
421
- } else {
422
- Session::Set('profile_list', $aCurrentProfiles);
423
- }
+ Session::Set('profile_list', $aCurrentProfiles);
424
425
// Prevent an administrator to remove their own admin profile
426
if (UserRights::IsAdministrator($this)) {
0 commit comments