mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 11:46:19 +01:00
question editing MDL-23758 notice on clicking cancel.
This commit is contained in:
parent
690510bd3d
commit
e934fa008b
@ -202,7 +202,9 @@ if ($mform->is_cancelled()){
|
||||
close_window();
|
||||
} else {
|
||||
$nexturl = new moodle_url($returnurl);
|
||||
$nexturl->param('lastchanged', $question->id);
|
||||
if (!empty($question->id)) {
|
||||
$nexturl->param('lastchanged', $question->id);
|
||||
}
|
||||
redirect($nexturl->out());
|
||||
}
|
||||
} elseif ($fromform = $mform->get_data()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user