Skip to content

Commit

Permalink
implemented requested changes from PR
Browse files Browse the repository at this point in the history
  • Loading branch information
schmitz-ilias committed Jun 21, 2022
1 parent 1545474 commit d4ded40
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Services/AccessControl/classes/class.ilObjRoleGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ protected function readRoleProperties(ilObjRole $role)

$rbacreview = $DIC['rbacreview'];

$data['title'] = $role->_getTranslation($role->getTitle());
$data['title'] = ilObjRole::_getTranslation($role->getTitle());
$data['desc'] = $role->getDescription();
$data['ilias_id'] = 'il_' . IL_INST_ID . '_' . ilObject::_lookupType($role->getId()) . '_' . $role->getId();
$data['reg'] = $role->getAllowRegister();
Expand Down
1 change: 0 additions & 1 deletion Services/AccessControl/classes/class.ilObjRoleTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public function __construct($a_id = 0, $a_call_by_reference = false)

/**
* return translated title for autogenerated templates
* @return string
*/
public function getPresentationTitle() : string
{
Expand Down

0 comments on commit d4ded40

Please sign in to comment.