summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-01-14 18:33:04 -0800
committerIvan Kohler <ivan@freeside.biz>2013-01-14 18:33:04 -0800
commit3d3b8acd653b2af3d55e78fc30ec34b621d80b71 (patch)
treee69ee788373b0411ed31d7b4c4ff41df98620239 /FS
parent40cee8133789f3a7151b937890ceaf8e799c30ed (diff)
fix asterisk_skip_clid import when there's bad data in the clid field, RT#20669
Diffstat (limited to 'FS')
-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 d244013..342ee19 100644
--- a/FS/FS/Record.pm
+++ b/FS/FS/Record.pm
@@ -1623,7 +1623,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;