Skip to content

Commit

Permalink
Merge branch 'MDL-50318-master-courseresources' of git://github.com/m…
Browse files Browse the repository at this point in the history
…udrd8mz/moodle
  • Loading branch information
danpoltawski committed May 26, 2015
2 parents 2a72614 + 01f329b commit 502bcf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/resources.php
Expand Up @@ -134,7 +134,7 @@
$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 = '';
}
Expand Down

0 comments on commit 502bcf9

Please sign in to comment.