MDL-78087 h5p: Fix TimeLine display bug

When the H5P third-party library was upgraded to moodle-1.23, the calls to
libraryToString(xxx, true) where replaced with libraryToFolderName().
We missed this, which was doing the H5P Timeline activities weren't
displayed properly.

Thanks Joseph for raising this and preparing a patch! Well done!

Co-authored: Joseph Rézeau
This commit is contained in:
Sara Arjona 2023-05-11 10:17:55 +02:00
parent 5d320dd7d1
commit 5372f54440

View File

@ -89,7 +89,7 @@ class core extends H5PCore {
'core_h5p',
'libraries',
$library->id,
"/" . self::libraryToString($dependency, true),
"/" . self::libraryToFolderName($dependency),
''
))->out(false);
}