From 732dc4f3340b88543f248aa82f3526e6ad2c3b83 Mon Sep 17 00:00:00 2001 From: Sara Arjona Date: Thu, 11 May 2023 10:17:55 +0200 Subject: [PATCH] MDL-78087 h5p: Fix TimeLine display bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- h5p/classes/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p/classes/core.php b/h5p/classes/core.php index b04dc076117..8c6935dd598 100644 --- a/h5p/classes/core.php +++ b/h5p/classes/core.php @@ -89,7 +89,7 @@ class core extends H5PCore { 'core_h5p', 'libraries', $library->id, - "/" . self::libraryToString($dependency, true), + "/" . self::libraryToFolderName($dependency), '' ))->out(false); }