From 06599167eaf2b55d3a3c5ae35734ec0fb41fc31d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 17 Jun 2016 14:41:44 +0200 Subject: [PATCH] =?utf8?q?CsvImport:=20leere=20Mappings=20schon=20beim=20E?= =?utf8?q?inlesen=20=C3=BCberspringen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/CsvImport.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1