Skip to content

Commit 4cd3383

Browse files
authored
fix adminhtml file attribute edit form
fixes #11252 not sure why this line was introduced as the only place this function is used seems to be here: https://github.com/magento/magento2/blob/55e9a5cc9d88ef785f39217e96da02b1cdf3e247/app/code/Magento/Customer/Model/FileUploader.php#L110 and it uses 'path' key right after call.
1 parent 55e9a5c commit 4cd3383

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/Customer/Model/FileProcessor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ public function saveTemporaryFile($fileId)
181181
);
182182

183183
$result = $uploader->save($path);
184-
unset($result['path']);
185184
if (!$result) {
186185
throw new \Magento\Framework\Exception\LocalizedException(
187186
__('File can not be saved to the destination folder.')

0 commit comments

Comments
 (0)