Details
Description
In the course grade tree, the grade items within hidden grade categories can still be shown by clicking "hide/show" action button. I guess it's not a deliberate functionality, so the attached patch fixes it: the set_hidden function of grade_item class will now be checking if parent directory is hidden first, and if it is, function returns.
Patch is applied with -p0 key.