Skip to content

Commit

Permalink
product images while exporting does not override previous image havin…
Browse files Browse the repository at this point in the history
…g same name in other folder
  • Loading branch information
Umar authored and dmanners committed Feb 16, 2018
1 parent 83ada52 commit 7803eed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1712,7 +1712,7 @@ protected function _saveProducts()
foreach ($rowImages as $column => $columnImages) {
foreach ($columnImages as $columnImageKey => $columnImage) {
if (!isset($uploadedImages[$columnImage])) {
$uploadedFile = $this->uploadMediaFiles($columnImage, true);
$uploadedFile = $this->uploadMediaFiles($columnImage);
$uploadedFile = $uploadedFile ?: $this->getSystemFile($columnImage);
if ($uploadedFile) {
$uploadedImages[$columnImage] = $uploadedFile;
Expand Down

0 comments on commit 7803eed

Please sign in to comment.