[followup] (bug #4051) set as binary

As we concat adress, we need to specify csv as binary, else it's broken and skip some lines.
This commit is contained in:
Nahuel ANGELINETTI 2010-01-25 14:45:10 +01:00 committed by Henri-Damien LAURENT
parent 8f0f18d337
commit 584f93a1d5
1 changed files with 1 additions and 0 deletions

View File

@ -210,6 +210,7 @@ sub build_csv {
# build header ...
my @keys = sort keys %{ $overdues->[0] };
my $csv = Text::CSV_XS->new({
binary => 1,
sep_char => C4::Context->preference("delimiter") ?
C4::Context->preference("delimiter") : ';' ,
});