Merge pull request #22 from davericher/patch-1

Minor cleanup
moodle-rc3
Frode Petterson 2016-06-17 08:59:40 +02:00 committed by GitHub
commit 77b9959c87
1 changed files with 1 additions and 1 deletions

View File

@ -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