From 50850003e5176c91baf2e64a9492de550923e94c Mon Sep 17 00:00:00 2001 From: David Balch Date: Tue, 18 Feb 2020 12:24:05 +0000 Subject: [PATCH] MDL-67993 roles: Fix pix_icon() calls. --- admin/tool/unsuproles/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/tool/unsuproles/index.php b/admin/tool/unsuproles/index.php index e2522ba600e..3d6c5e8a9b6 100644 --- a/admin/tool/unsuproles/index.php +++ b/admin/tool/unsuproles/index.php @@ -100,9 +100,9 @@ if (!$problems) { $count = $problem->racount; $edit = array(); $aurl = new moodle_url('/admin/roles/define.php', array('roleid'=>$problem->roleid, 'action'=>'edit')); - $edit[] = html_writer::link($aurl, $OUTPUT->pix_icon('t/edit', 'core', get_string('edit'))); + $edit[] = html_writer::link($aurl, $OUTPUT->pix_icon('t/edit', get_string('edit'))); $aurl = new moodle_url($PAGE->url, array('roleid'=>$problem->roleid, 'contextlevel'=>$problem->contextlevel, 'action'=>'delete')); - $edit[] = html_writer::link($aurl, $OUTPUT->pix_icon('t/delete', 'core', get_string('delete'))); + $edit[] = html_writer::link($aurl, $OUTPUT->pix_icon('t/delete', get_string('delete'))); $data[] = array($levelname, $rolename, $count, implode(' ', $edit)); } $table = new html_table();