fixed "hotpot_print_recent_activity to use "hp=" instead of "id=" in links to attempted quizzes

This commit is contained in:
gbateson
2005-09-16 00:43:44 +00:00
parent 60bdcfa990
commit 9086a17e15
+1 -1
View File
@@ -236,7 +236,7 @@ function hotpot_print_recent_activity($course, $isteacher, $timestart) {
$names = array();
foreach ($records as $id => $record){
$href = $CFG->wwwroot.'/mod/hotpot/view.php?id='.$id;
$href = $CFG->wwwroot.'/mod/hotpot/view.php?hp='.$id;
$name = "&nbsp;<a href=\"$href\">$record->name</a>";
if ($record->count_attempts > 1) {
$name .= " ($record->count_attempts)";