Skip to content

Commit

Permalink
[import] fix empty iip dir path
Browse files Browse the repository at this point in the history
  • Loading branch information
rastislav-chynoransky committed Apr 10, 2024
1 parent bbd4f2f commit 0922377
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/ImportRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ public function files(): Collection

public function iipFiles(): Collection
{
if ($this->import->iip_dir_path === null) {
return collect();
}

$dir = sprintf(
'%s/%s',
$this->import->iip_dir_path,
Expand Down

0 comments on commit 0922377

Please sign in to comment.