Skip to content

Commit

Permalink
Merge pull request #4050 from mjansenDatabay/hotfix/7/32075
Browse files Browse the repository at this point in the history
User/AccessControl: Fix wrong type in permanentlink (Mantis 32075)
  • Loading branch information
smeyer-ilias authored Feb 22, 2022
2 parents 1de6820 + 2a8fc2a commit e9e8399
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Services/User/classes/class.ilRoleAssignmentTableGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,10 @@ public function parse(int $usr_id)

// Add link to objector local Rores
if ($role["role_type"] == "local") {
$result_set[$counter][] = $context = "<a href='" . ilLink::_getLink($ref_id, ilObject::_lookupType($ref_id)) . "' target='_top'>" . $path . "</a>";
$result_set[$counter][] = $context = "<a href='" . ilLink::_getLink(
$ref_id,
ilObject::_lookupType(ilObject::_lookupObjId($ref_id))
) . "' target='_top'>" . $path . "</a>";
} else {
$result_set[$counter][] = $path;
$context = $path;
Expand Down

0 comments on commit e9e8399

Please sign in to comment.