From 0fe062824add1b7ead74174fd2ebcdf92cb05af1 Mon Sep 17 00:00:00 2001 From: Mateusz Qunabu Date: Mon, 28 Jun 2021 17:36:26 +0200 Subject: [PATCH] seeder titles (#47) --- database/seeders/ContentLibrarySeeder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/database/seeders/ContentLibrarySeeder.php b/database/seeders/ContentLibrarySeeder.php index edc7378a..1c542204 100644 --- a/database/seeders/ContentLibrarySeeder.php +++ b/database/seeders/ContentLibrarySeeder.php @@ -42,6 +42,7 @@ private function downloadAndSeed($lib, $addContent = false) $h5p_upgrade_only = false; if ($this->hh5pService->getValidator()->isValidPackage($skipContent, $h5p_upgrade_only)) { + $content['title'] = $lib; $this->hh5pService->getStorage()->savePackage($content, null, $skipContent); } else { echo "Invalid package $filename \n";