We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d8b5b8 commit 81822ecCopy full SHA for 81822ec
post.php
@@ -40,6 +40,7 @@
40
$confirm = optional_param('confirm', 0, PARAM_INT);
41
42
// Set the URL that should be used to return to this page.
43
+$SESSION->errorreturnurl = get_local_referer(false);
44
$PAGE->set_url('/mod/moodleoverflow/post.php', ['moodleoverflow' => $moodleoverflow, 'reply' => $reply, 'edit' => $edit,
45
'delete' => $delete, 'confirm' => $confirm, ]);
46
0 commit comments