projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use common base for inventory import too, fixes problems with errors due to dos line...
[freeside.git]
/
FS
/
FS
/
Record.pm
diff --git
a/FS/FS/Record.pm
b/FS/FS/Record.pm
index
4b6684d
..
80ab564
100644
(file)
--- a/
FS/FS/Record.pm
+++ b/
FS/FS/Record.pm
@@
-1339,6
+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';
my $error =
FS::Record::batch_import( {