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.
2 parents 0dc18cd + 592cd44 commit 15e2a28Copy full SHA for 15e2a28
app/code/Magento/CatalogImportExport/Model/Import/Uploader.php
@@ -113,15 +113,15 @@ public function __construct(
113
\Magento\Framework\Filesystem\File\ReadFactory $readFactory,
114
$filePath = null
115
) {
116
- if ($filePath !== null) {
117
- $this->_setUploadFile($filePath);
118
- }
119
$this->_imageFactory = $imageFactory;
120
$this->_coreFileStorageDb = $coreFileStorageDb;
121
$this->_coreFileStorage = $coreFileStorage;
122
$this->_validator = $validator;
123
$this->_directory = $filesystem->getDirectoryWrite(DirectoryList::ROOT);
124
$this->_readFactory = $readFactory;
+ if ($filePath !== null) {
+ $this->_setUploadFile($filePath);
+ }
125
}
126
127
/**
0 commit comments