diff --git a/h5p/classes/core.php b/h5p/classes/core.php index 631e0e24b2b..1458372c9af 100644 --- a/h5p/classes/core.php +++ b/h5p/classes/core.php @@ -197,7 +197,7 @@ class core extends \H5PCore { if ($shoulddownload) { $installed['id'] = $this->fetch_content_type($library); if ($installed['id']) { - $installed['name'] = $librarykey = \H5PCore::libraryToString($library); + $installed['name'] = \H5PCore::libraryToString($library); $typesinstalled[] = $installed; } }