From 03271418f09f258df131581a99bb522edc4b3516 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Thu, 26 Jan 2017 14:56:28 +0100 Subject: [PATCH] Use correct variable --- 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 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