diff --git a/h5p.classes.php b/h5p.classes.php index 3c1efd7..eb02c47 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -1477,7 +1477,7 @@ Class H5PExport { public function createExportFile($content) { $h5pDir = $this->h5pF->getH5pPath() . DIRECTORY_SEPARATOR; $tempPath = $h5pDir . 'temp' . DIRECTORY_SEPARATOR . $content['id']; - $zipPath = $h5pDir . 'exports' . DIRECTORY_SEPARATOR . $content['slug'] . '.h5p'; + $zipPath = $h5pDir . 'exports' . DIRECTORY_SEPARATOR . $content['slug'] . '-' . $content['id'] . '.h5p'; // Temp dir to put the h5p files in @mkdir($tempPath, 0777, TRUE);