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 dc8b5db commit e3248e8Copy full SHA for e3248e8
app/code/Magento/RemoteStorage/Plugin/Image.php
@@ -192,7 +192,7 @@ private function copyFileToTmp($filePath): string
192
$this->tmpDirectoryWrite->create();
193
$tmpPath = $this->storeTmpName($filePath);
194
$content = $this->remoteDirectoryWrite->getDriver()->fileGetContents($filePath);
195
- $filePath = $this->tmpDirectoryWrite->getDriver()->filePutContents($tmpPath, $content)
+ $filePath = $this->tmpDirectoryWrite->getDriver()->filePutContents($tmpPath, $content) !== false
196
? $tmpPath
197
: $filePath;
198
}
0 commit comments