Permalink
Browse files

MDL-36482 Fix slipped error, thanks Petr!

  • Loading branch information...
1 parent be06282 commit 4453f3255fcc2e4f1db47f97a229b0fd6ed0ec13 @stronk7 stronk7 committed May 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/resources.php
@@ -133,7 +133,7 @@
$icon = '<img src="'.$OUTPUT->pix_url('icon', $cm->modname).'" class="activityicon" alt="'.get_string('modulename', $cm->modname).'" /> ';
}
- if (isset($cm->intro) && isset($cm->introformat)) {
+ if (isset($resource->intro) && isset($resource->introformat)) {
$intro = format_module_intro('resource', $resource, $cm->id);
} else {
$intro = '';

0 comments on commit 4453f32

Please sign in to comment.