Merge branch 'MDL-61326-master' of git://github.com/peterRd/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 11 Feb 2019 23:19:07 +0000 (00:19 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 11 Feb 2019 23:19:07 +0000 (00:19 +0100)
repository/equella/lib.php

index cfffc8c..be5635d 100644 (file)
@@ -291,7 +291,7 @@ class repository_equella extends repository {
 
         foreach (self::get_all_editing_roles() as $role) {
             $mform->addElement('header', 'groupheader_'.$role->shortname, get_string('group', 'repository_equella',
-                format_string($role->name)));
+                role_get_name($role)));
             $mform->addElement('text', "equella_{$role->shortname}_shareid", get_string('sharedid', 'repository_equella'));
             $mform->setType("equella_{$role->shortname}_shareid", PARAM_RAW);
             $mform->addElement('text', "equella_{$role->shortname}_sharedsecret",