mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
0151ca2b91
If a cm isn't in modinfo's cm list, then the user shouldn't be able to see that cm. This fixes an issue where hidden activities would cause users to be unable to use moodle.