fixed "hotpot_print_recent_activity to use "hp=" instead of "id=" in links to attempted quizzes
This commit is contained in:
+1
-1
@@ -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 = " <a href=\"$href\">$record->name</a>";
|
||||
if ($record->count_attempts > 1) {
|
||||
$name .= " ($record->count_attempts)";
|
||||
|
||||
Reference in New Issue
Block a user