Fixed up cancel button on module editing page to avoid error when returning to course page.
Fixed up cancel button on module editing page to avoid error
when returning to course page.

Fix by Scott Elliott.

dilawar/moodle