Permalink
Browse files

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

  • Loading branch information...
1 parent aede1fe commit d19983fac1c55d4d87e00f2ed94318e8b3d352a0 Rossiani Wijaya committed Jul 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/lib.php
View
@@ -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);

0 comments on commit d19983f

Please sign in to comment.