Permalink
Browse files

Merge branch 'w07_MDL-25626_20_completionerror' of git://github.com/s…

…kodak/moodle
  • Loading branch information...
2 parents 2641846 + b69f9a0 commit 64c74b8f7bd60f3340f0828da264c808af421dc0 @stronk7 stronk7 committed Feb 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit 64c74b8

Please sign in to comment.