Merge branch 'MDL-30532' of git://github.com/timhunt/moodle
authorSam Hemelryk <sam@moodle.com>
Mon, 12 Dec 2011 22:15:27 +0000 (11:15 +1300)
committerSam Hemelryk <sam@moodle.com>
Mon, 12 Dec 2011 22:15:27 +0000 (11:15 +1300)
admin/tool/qeupgradehelper/locallib.php

index 7c001d4..62cfca6 100644 (file)
@@ -178,7 +178,7 @@ abstract class tool_qeupgradehelper_quiz_list {
             html_writer::link(new moodle_url('/course/view.php',
                     array('id' => $quizinfo->courseid)), format_string($quizinfo->shortname)),
             html_writer::link(new moodle_url('/mod/quiz/view.php',
-                    array('id' => $quizinfo->name)), format_string($quizinfo->name)),
+                    array('q' => $quizinfo->id)), format_string($quizinfo->name)),
             $quizinfo->attemptcount,
             $quizinfo->questionattempts ? $quizinfo->questionattempts : 0,
         );