Use correct variable

JI-92-path-fix
Frode Petterson 2017-01-26 14:56:28 +01:00
parent 95cfaf6b9e
commit 03271418f0
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ class H5PDefaultStorage implements \H5PFileStorage {
// Prepare directory // Prepare directory
if (empty($contentId)) { if (empty($contentId)) {
// Should be in editor tmp folder // Should be in editor tmp folder
$path = ($this->alteditorpath !== NULL ? $this->alteditorpath : $path . '/editor'); $path = ($this->alteditorpath !== NULL ? $this->alteditorpath : $this->path . '/editor');
} }
else { else {
// Should be in content folder // Should be in content folder