diff --git a/question/question.php b/question/question.php index e5bf9225a2068..f430a3325f13a 100644 --- a/question/question.php +++ b/question/question.php @@ -185,7 +185,9 @@ if ($inpopup) { close_window(); } else { - redirect($returnurl); + $nexturl = new moodle_url($returnurl); + $nexturl->param('lastchanged', $question->id); + redirect($nexturl->out()); } } elseif ($fromform = $mform->get_data()) { /// If we are saving as a copy, break the connection to the old question.