Commit b6e389b7 authored by Dan Poltawski's avatar Dan Poltawski
Browse files

Merge branch 'MDL-50318-28-courseresources' of...

Merge branch 'MDL-50318-28-courseresources' of git://github.com/mudrd8mz/moodle into MOODLE_28_STABLE
parents d4f82690 2daaae15
......@@ -134,7 +134,7 @@ foreach ($cms as $cm) {
$icon = '<img src="'.$cm->get_icon_url().'" class="activityicon" alt="'.$cm->get_module_type_name().'" /> ';
if (isset($resource->intro) && isset($resource->introformat)) {
$intro = format_module_intro('resource', $resource, $cm->id);
$intro = format_module_intro($cm->modname, $resource, $cm->id);
} else {
$intro = '';
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment