projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de1e1a1
)
oops
author
ivan
<ivan>
Tue, 9 Dec 2008 01:49:55 +0000
(
01:49
+0000)
committer
ivan
<ivan>
Tue, 9 Dec 2008 01:49:55 +0000
(
01:49
+0000)
FS/FS/Record.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Record.pm
b/FS/FS/Record.pm
index
80ab564
..
1f0b140
100644
(file)
--- 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( {