From bcdaf59e5e61c403bb154f886e1c2122c9f81878 Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Thu, 16 Jun 2016 14:13:51 -0400 Subject: [PATCH] Minor cleanup --- h5p-default-storage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p-default-storage.class.php b/h5p-default-storage.class.php index 2f446c1..e019990 100644 --- a/h5p-default-storage.class.php +++ b/h5p-default-storage.class.php @@ -112,7 +112,7 @@ class H5PDefaultStorage implements \H5PFileStorage { $source = "{$this->path}/content/{$id}"; if (file_exists($source)) { // Copy content folder if it exists - self::copyFileTree("{$this->path}/content/{$id}", $target); + self::copyFileTree($source, $target); } else { // No contnet folder, create emty dir for content.json