MDL-60115 mod_book: Book Resource Cancel Button Redirect Bug
authorMichael Brown <mbrow188@msudenver.edu>
Mon, 2 Apr 2018 04:01:34 +0000 (04:01 +0000)
committerMichael Brown <mbrow188@msudenver.edu>
Mon, 2 Apr 2018 04:01:34 +0000 (04:01 +0000)
commit37fdff573b6568c810269708c4091839c92a5d53
treebf9dc5e792788dce5e06de9a116eebc3d70eb337
parent39fab18e27035b610fba956e1ff9e5f945bed0c5
MDL-60115 mod_book: Book Resource Cancel Button Redirect Bug

When the user creates a book but adds no chapters, hitting cancel on
 the chapter creation page would redirect you right back to the same
 page with no explanation. This solution redirects to the course page
 when canceling chapter creation when no chapters are present.
mod/book/edit.php