Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Commit

Permalink
Merge pull request #72 from Anmol-Chauhan/v1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek-webkul authored Dec 20, 2021
2 parents d6076a0 + 32e096a commit 1347949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repositories/ProductImageRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function bulkuploadImages($data, $product, $imageZipName)
{
if (isset($data['images'])) {
foreach($data['images'] as $key => $value) {
if (is_null($imageZipName)) {
if ( ! is_null($imageZipName)) {
$files = "imported-products/extracted-images/admin/".$data['dataFlowProfileRecordId'].'/'. $imageZipName['dirname'].'/'.basename($value);
} else {
$files = "imported-products/extracted-images/admin/".$data['dataFlowProfileRecordId'].'/'.basename($value);
Expand Down

0 comments on commit 1347949

Please sign in to comment.