mirror of
https://github.com/moodle/moodle.git
synced 2025-05-01 14:09:01 +02:00
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.