From d7db5f08b079cc76b69861cb3c677c86cb2ade20 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Thu, 28 Sep 2023 17:39:28 +0100 Subject: [PATCH] MDL-79534 contenttype_h5p: correct fallback file used for icons. --- contentbank/contenttype/h5p/classes/contenttype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contentbank/contenttype/h5p/classes/contenttype.php b/contentbank/contenttype/h5p/classes/contenttype.php index 742699d2fd1..2d3d1188b69 100644 --- a/contentbank/contenttype/h5p/classes/contenttype.php +++ b/contentbank/contenttype/h5p/classes/contenttype.php @@ -82,7 +82,7 @@ class contenttype extends \core_contentbank\contenttype { public function get_icon(\core_contentbank\content $content): string { global $OUTPUT, $DB; - $iconurl = $OUTPUT->image_url('f/h5p-64', 'moodle')->out(false); + $iconurl = $OUTPUT->image_url('f/h5p')->out(false); $file = $content->get_file(); if (!empty($file)) { $h5p = \core_h5p\api::get_content_from_pathnamehash($file->get_pathnamehash());