Details
Description
course/editcategory.php allows assigning the current or a child category as the parent category, which makes no sense.
When this happens, the affected course categories disappear.
Attached is a screenshot that displays the problem.
Also attached are three patch files. Three files are patched so that code duplication is avoided: the same logic is needed in course/index.php. I based the new code in lib.php on the existing code in index.php.
Attachments
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
Grabbing a bunch of related course category editing bugs that I plan to work on. Sorry for all the emails.