Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-36482 Fix slipped error, thanks Petr!

  • Loading branch information...
commit d917dc9e400290a9491fe81654db26848436af84 1 parent d74f740
@stronk7 stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  course/resources.php
View
2  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 = '';
Please sign in to comment.
Something went wrong with that request. Please try again.