diff options
author | ivan <ivan> | 2008-12-09 01:49:55 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-12-09 01:49:55 +0000 |
commit | a3342227e5f64a2ef4d45ccd5c6101b325549f01 (patch) | |
tree | 3d9623d0e891100b36f51a66be957c9790d394ba | |
parent | de1e1a1c2563a9741a5be44f997889f7c37c36ed (diff) |
oops
-rw-r--r-- | FS/FS/Record.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 80ab564f1..1f0b140e2 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -1339,8 +1339,8 @@ sub process_batch_import { warn "can't parse file type from filename $file; defaulting to CSV"; $type = 'csv'; } - $type = 'csv' unless $type eq 'xls'; - $opt->{'default_csv'} && $type ne 'xls'; + $type = 'csv' + if $opt->{'default_csv'} && $type ne 'xls'; my $error = FS::Record::batch_import( { |