0a571db22b
The symptom is that where we are now is not shown in the settings navigation. However, the underlying cause is that question/edit.php is doing some crazy thing of its own to build $PAGE->url, rather than using the one returned by question_edit_setup. Not that this patch itentionally removes the returnurl param. It was added as part of a big change MDL-20276, which I think just got this detail wrong. That variable is never used.