summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-01-14 18:33:05 -0800
committerIvan Kohler <ivan@freeside.biz>2013-01-14 18:33:05 -0800
commit372217d78892aeae471471f248203a42e75670e8 (patch)
tree3cae0eb8ea7f3fd076d093d08f85ad8701c4b9ed
parent81c95889e746b174f70956e408795c2c653c3010 (diff)
fix asterisk_skip_clid import when there's bad data in the clid field, RT#20669
-rw-r--r--FS/FS/Record.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm
index 3667d5159..ab0a33faa 100644
--- a/FS/FS/Record.pm
+++ b/FS/FS/Record.pm
@@ -1783,7 +1783,7 @@ sub batch_import {
if ( $type eq 'csv' ) {
- my %attr = ();
+ my %attr = ( 'binary' => 1, );
$attr{sep_char} = $sep_char if $sep_char;
$parser = new Text::CSV_XS \%attr;