@@ -, +, @@ definition --- C4/Acquisition.pm | 1 + 1 file changed, 1 insertion(+) --- a/C4/Acquisition.pm +++ a/C4/Acquisition.pm @@ -293,6 +293,7 @@ sub GetBasketAsCSV { my $csv = Text::CSV_XS->new({'quote_char'=>'"','escape_char'=>'"','sep_char'=>$csv_profile->csv_separator,'binary'=>1}); my $csv_profile_content = $csv_profile->content; + $csv_profile_content =~ s/[\s]*//g; my ( @headers, @fields ); while ( $csv_profile_content =~ / ([^=\|]+) # header --