I recently upgraded to 3.10.4 and when editing a module such as a page clicking save and display returns you to the course page instead of the module page.
I have 2nd site running mostly unmodified moodle code that doesn't have the issue.
From what I can tell the $fromform->submitbutton isn't set on about line 173 of the course\modedit.php cause it to use a different redirect URL.
I haven't made any modifications to the modedit.php or modlib.php. Most changes are just additional plugins.
Any ideas or suggestions would be greatly appreciated.