We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb5ca55 commit f0bf4b4Copy full SHA for f0bf4b4
app/code/Magento/Cms/Model/Wysiwyg/Images/Storage.php
@@ -436,7 +436,7 @@ public function createDirectory($name, $path)
436
);
437
}
438
439
- $relativePath = $this->_directory->getRelativePath($path);
+ $relativePath = (string) $this->_directory->getRelativePath($path);
440
if (!$this->_directory->isDirectory($relativePath) || !$this->_directory->isWritable($relativePath)) {
441
$path = $this->_cmsWysiwygImages->getStorageRoot();
442
0 commit comments