Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-25626 fix incorrect cm id in completion report

credit goes to Aaron Barnes
  • Loading branch information...
commit b69f9a08d974a63b4060b3a6a4b8c355150f774a 1 parent d911c72
@skodak skodak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  course/report/completion/index.php
View
2  course/report/completion/index.php
@@ -474,7 +474,7 @@ function csv_quote($value) {
// Display icon
$icon = $OUTPUT->pix_url('icon', $criterion->module);
- $iconlink = $CFG->wwwroot.'/mod/'.$criterion->module.'/view.php?id='.$activity->id;
+ $iconlink = $CFG->wwwroot.'/mod/'.$criterion->module.'/view.php?id='.$activity->moduleinstance;
$icontitle = $activity->name;
$iconalt = get_string('modulename', $criterion->module);
break;
Please sign in to comment.
Something went wrong with that request. Please try again.