From: Sven Schöling Date: Fri, 17 Jun 2016 12:41:44 +0000 (+0200) Subject: CsvImport: leere Mappings schon beim Einlesen überspringen X-Git-Tag: release-3.4.1~40 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=06599167eaf2b55d3a3c5ae35734ec0fb41fc31d;p=kivitendo-erp.git CsvImport: leere Mappings schon beim Einlesen überspringen --- diff --git a/SL/Controller/CsvImport.pm b/SL/Controller/CsvImport.pm index 99f51c93d..790d477cf 100644 --- a/SL/Controller/CsvImport.pm +++ b/SL/Controller/CsvImport.pm @@ -720,7 +720,7 @@ sub mappings_for_profile { } sub init_mappings { - $::form->{mappings} || [] + [ grep { $_->{from} } @{ $::form->{mappings} || [] } ] } 1;