diff --git a/app/Domains/Export/Services/ImportService.php b/app/Domains/Export/Services/ImportService.php index 049b213b..e8647672 100644 --- a/app/Domains/Export/Services/ImportService.php +++ b/app/Domains/Export/Services/ImportService.php @@ -33,11 +33,9 @@ class ImportService extends Service $title = $item; } else { $row = []; + $emptyRow = true; foreach ($item as $key => $value) { - $emptyRow = true; - $column = strtolower($title[$key]); - if ($columns === null || in_array($column, $columns)) { $row[$column] = trim($value);