Skip to content

Commit

Permalink
Enrolment instance icons should be visible for all
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszcisek committed Jun 29, 2011
1 parent ff555b5 commit 912d8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 912d8e5

Please sign in to comment.