-
Task
-
Resolution: Fixed
-
Minor
-
2.8
-
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE
While fixing MOBILE-1375 we noticed that there are a lot of areas where module.contents is used without checking if the value is undefined/null
We need to do a complete review of the usage to avoid unexpected errors.
Note that module.contents empty only happens under weird circumstances in a Moodle installation so it's not easy to reproduce