Skip to content

Commit 7a59dc0

Browse files
Roman HaninRoman Hanin
authored andcommitted
Merge branch 'B2B-1887' of https://github.com/magento-arcticfoxes/magento2ce into B2B-1887-1889
2 parents d14af0b + 563330a commit 7a59dc0

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
@@ -574,7 +574,7 @@ public function uploadFile($targetPath, $type = null)
574574
}
575575

576576
// create thumbnail
577-
$this->resizeFile($targetPath . '/' . ltrim($uploader->getUploadedFileName(), '/'), true);
577+
$this->resizeFile(rtrim($targetPath, '/') . '/' . ltrim($uploader->getUploadedFileName(), '/'), true);
578578

579579
return $result;
580580
}

0 commit comments

Comments
 (0)