This commit is contained in:
Ilya Tregubov
2023-10-03 09:34:14 +08:00
@@ -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());