X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/65d2537d658b99b005a18c6663bc1293b41a1d83..bc0e2edad8e8f94f85f2a59ceb784b8eb0cda97c:/SL/Controller/CsvImport/Part.pm diff --git a/SL/Controller/CsvImport/Part.pm b/SL/Controller/CsvImport/Part.pm index 069dad2bd..d337550b0 100644 --- a/SL/Controller/CsvImport/Part.pm +++ b/SL/Controller/CsvImport/Part.pm @@ -622,7 +622,7 @@ sub handle_pricegroups { foreach my $pricegroup (@{ $self->all_pricegroups }) { $idx++; my $sellprice = $entry->{raw_data}->{"pricegroup_${idx}"}; - next if $sellprice eq ''; + next if ($sellprice // '') eq ''; push @prices, SL::DB::Price->new(pricegroup_id => $pricegroup->id, price => $::form->parse_amount(\%::myconfig, $sellprice));