Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-28107 course enrolment icon: Fixed logged in user enrolment icons

  • Loading branch information...
commit d19983fac1c55d4d87e00f2ed94318e8b3d352a0 1 parent aede1fe
@rwijaya rwijaya authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  course/lib.php
View
2  course/lib.php
@@ -2472,7 +2472,7 @@ function print_course($course, $highlightterms = '') {
$course->summaryformat = FORMAT_MOODLE;
}
echo highlight($highlightterms, format_text($course->summary, $course->summaryformat, $options, $course->id));
- if ((!isloggedin() || is_siteadmin()) && $icons = enrol_get_course_info_icons($course)) {
+ if ($icons = enrol_get_course_info_icons($course)) {
echo html_writer::start_tag('div', array('class'=>'enrolmenticons'));
foreach ($icons as $icon) {
echo $OUTPUT->render($icon);
Please sign in to comment.
Something went wrong with that request. Please try again.