Skip to content

Commit

Permalink
MDL-36482 Fix slipped error, thanks Petr!
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed May 22, 2013
1 parent f233318 commit 748524f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/resources.php
Expand Up @@ -136,7 +136,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 = '';
Expand Down

0 comments on commit 748524f

Please sign in to comment.