mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 20:53:53 +01:00
ab7ee8fa1d
In MoodleCloud it was raised that, in some cases, loading the content bank, from a course page, gives an "Invalid H5P content URL", not offering any way to delete the offending content or create new one. An extra-check has been added to the "is_view_allowed" method to guarantee the H5P API is called only if the H5P content has a file.