Index: question.php =================================================================== RCS file: /cvsroot/moodle/moodle/question/question.php,v retrieving revision 1.49.2.4 diff -u -r1.49.2.4 question.php --- question.php 5 Jun 2009 08:30:36 -0000 1.49.2.4 +++ question.php 19 Nov 2009 12:35:12 -0000 @@ -141,7 +141,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.