diff --git a/h5p-default-storage.class.php b/h5p-default-storage.class.php index 1141bda..1fcada2 100644 --- a/h5p-default-storage.class.php +++ b/h5p-default-storage.class.php @@ -297,7 +297,7 @@ class H5PDefaultStorage implements \H5PFileStorage { // Prepare directory if (empty($contentId)) { // Should be in editor tmp folder - $path = ($this->alteditorpath !== NULL ? $this->alteditorpath : $path . '/editor'); + $path = ($this->alteditorpath !== NULL ? $this->alteditorpath : $this->path . '/editor'); } else { // Should be in content folder