Skip to content

Commit f0bf4b4

Browse files
author
hwyu@adobe.com
committed
MC-41488: Directory write update
- Fixed static, integration and unit tests
1 parent fb5ca55 commit f0bf4b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ public function createDirectory($name, $path)
436436
);
437437
}
438438

439-
$relativePath = $this->_directory->getRelativePath($path);
439+
$relativePath = (string) $this->_directory->getRelativePath($path);
440440
if (!$this->_directory->isDirectory($relativePath) || !$this->_directory->isWritable($relativePath)) {
441441
$path = $this->_cmsWysiwygImages->getStorageRoot();
442442
}

0 commit comments

Comments
 (0)