[followup] (bug #4051) set as binary
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Mon, 25 Jan 2010 13:45:10 +0000 (14:45 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 27 Jan 2010 13:14:49 +0000 (14:14 +0100)
As we concat adress, we need to specify csv as binary, else it's broken and skip some lines.

circ/overdue.pl

index 2e22e6d..aab7bdd 100755 (executable)
@@ -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") : ';' ,
     });