From 455d765f877e1f1964e4eb36db63a6b44f62357e Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Sat, 1 May 2010 08:23:28 +0000 Subject: [PATCH] quiz editing: MDL-20263 When adding a new question directly to the quiz, highlight it in the question bank. --- mod/quiz/edit.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/quiz/edit.php b/mod/quiz/edit.php index e80138a63c3..53c6c30db37 100644 --- a/mod/quiz/edit.php +++ b/mod/quiz/edit.php @@ -213,6 +213,7 @@ if (($addquestion = optional_param('addquestion', 0, PARAM_INT)) && confirm_sess quiz_add_quiz_question($addquestion, $quiz, $addonpage); quiz_update_sumgrades($quiz); quiz_delete_previews($quiz); + $thispageurl->param('lastchanged', $addquestion); redirect($thispageurl); }