Skip to content
Browse files

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

  • Loading branch information...
1 parent 6884b59 commit e877160d46e8de67c12c40a7f92c28d71ff8b28c @rwijaya rwijaya committed Jul 15, 2011
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);

0 comments on commit e877160

Please sign in to comment.
Something went wrong with that request. Please try again.