diff --git a/h5p.classes.php b/h5p.classes.php index 23db57d..4badcc6 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -1468,7 +1468,7 @@ class H5PStorage { * The main id of the new content (used in frameworks that support revisioning) */ public function copyPackage($contentId, $copyFromId, $contentMainId = NULL) { - $this->h5pC->fs->cloneContent($contentId, $newContentId); + $this->h5pC->fs->cloneContent($copyFromId, $contentId); $this->h5pF->copyLibraryUsage($contentId, $copyFromId, $contentMainId); } }