[Koha-patches] [PATCH] [followup] (bug #4051) set as binary

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Mon Jan 25 14:46:14 CET 2010


As we concat adress, we need to specify csv as binary, else it's broken and skip some lines.
---
 circ/overdue.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/circ/overdue.pl b/circ/overdue.pl
index 2e22e6d..aab7bdd 100755
--- a/circ/overdue.pl
+++ b/circ/overdue.pl
@@ -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") : ';' ,
     });
-- 
1.6.3.3




More information about the Koha-patches mailing list