diff --git a/CHANGES.md b/CHANGES.md index d967dbbfae37c511a97940447f669755d0dab266..67e3089d4fcffd53e4179bd666346e7c476da194 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ Changes ### Unreleased +* 2018-03-06 - Activity icons should be rendered with image_icon() and not with pix_icon anymore. * 2018-03-06 - pix_url() is deprecated in Moodle 3.3, change to pix_icon() and fontawesome icons. * 2017-12-12 - Prepare compatibility for Moodle 3.3, no functionality change. diff --git a/block_course_overview_campus.php b/block_course_overview_campus.php index d040c816e34e234b229993d1e63c10743d163b75..cec0ad9be3595128de5eddcaf071ef2f012f71d4 100644 --- a/block_course_overview_campus.php +++ b/block_course_overview_campus.php @@ -1323,7 +1323,7 @@ class block_course_overview_campus extends block_base { foreach ($coursenews[$c->id] as $modname => $html) { echo '<div class="coc-module">'; // Output activity icon. - echo $OUTPUT->pix_icon('icon', $modname, 'mod_'.$modname, array('class' => 'iconlarge activityicon')); + echo $OUTPUT->image_icon('icon', $modname, 'mod_'.$modname, array('class' => 'iconlarge activityicon')); // Output activity introduction string. if (get_string_manager()->string_exists("activityoverview", $modname)) {