Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information