diff --git a/CHANGES.txt b/CHANGES.txt index cfc4ba8c..a5670ec9 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,7 @@ New in 3.4.1.5 - FIX: Issue #888: Margins on block icons. - FIX: Participants menu only on course and module pages. - FIX: Administration / Naviagtion menu still appearing when flat navigation is on because they are not in the side-pre region. +- FIX: 'courselistteachericon' not showing. - NEW: Show / hide the participants menu with the 'participantsmenu' setting in the 'Header' settings. - NEW: Separate 'People' from 'This course' menu and create 'Participants' menu. diff --git a/classes/core_course_renderer.php b/classes/core_course_renderer.php index 8efc657c..fedd60b5 100644 --- a/classes/core_course_renderer.php +++ b/classes/core_course_renderer.php @@ -245,7 +245,7 @@ protected function coursecat_coursebox_content(coursecat_helper $chelper, $cours } foreach ($course->get_course_contacts() as $userid => $coursecontact) { $faiconsetting = \theme_essential\toolbox::get_setting('courselistteachericon'); - $faiconsettinghtml = (empty($faiconsetting)) ? '' : ' '; $name = $faiconsettinghtml.$coursecontact['rolename'].': '. html_writer::link(new moodle_url('/user/view.php',