From 68f332f391262f7ae5a9b51426ed3938ee0ca62f Mon Sep 17 00:00:00 2001 From: jamiesensei Date: Mon, 21 Jul 2008 12:14:32 +0000 Subject: [PATCH] MDL-15452 - "Fix regressions introduced by my recent work on this bug and its children. Thanks to Paul Johnson for his testing." - fix xhtml error. --- mod/quiz/tabs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/quiz/tabs.php b/mod/quiz/tabs.php index 56a7dff896..82987baa78 100644 --- a/mod/quiz/tabs.php +++ b/mod/quiz/tabs.php @@ -39,7 +39,7 @@ if (has_capability('mod/quiz:viewreports', $context)) { $row[] = new tabobject('reports', "$CFG->wwwroot/mod/quiz/report.php?q=$quiz->id", get_string('results', 'quiz')); } if (has_capability('mod/quiz:preview', $context)) { - $row[] = new tabobject('preview', "$CFG->wwwroot/mod/quiz/startattempt.php?cmid=$cm->id&sesskey=" . sesskey(), get_string('preview', 'quiz')); + $row[] = new tabobject('preview', "$CFG->wwwroot/mod/quiz/startattempt.php?cmid=$cm->id&sesskey=" . sesskey(), get_string('preview', 'quiz')); } if (has_capability('mod/quiz:manage', $context)) { $row[] = new tabobject('edit', "$CFG->wwwroot/mod/quiz/edit.php?cmid=$cm->id", get_string('edit')); -- 2.39.5