Leerzeilen beim Import überspringen

This commit is contained in:
Marcel Diegelmann 2025-12-12 10:42:24 +01:00
parent 5bd0741fba
commit 148b438f0f

View file

@ -507,6 +507,10 @@ class BOMImporter
$values = str_getcsv($row, ';');
}
if (trim($row) === '' || count($values) === 1) {
continue;
}
foreach ($headers as $index => $column) {
//Change the column names in small letters
$column = strtolower($column);