Skip to content

Commit

Permalink
User: Fix Access to Missing Factory
Browse files Browse the repository at this point in the history
  • Loading branch information
kergomard committed Feb 19, 2024
1 parent 0b8650d commit 34a00b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/AccessControl/classes/class.ilObjRoleGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ public function deassignUserObject(): void
$this->object->getId(),
$assigned_global_roles
)) {
$userObj = $this->ilias->obj_factory->getInstanceByObjId($user);
$userObj = new ilObjUser($user);
$last_role[$user] = $userObj->getFullName();
unset($userObj);
}
Expand Down

0 comments on commit 34a00b8

Please sign in to comment.