projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c312e7
)
don't override countrydefault or whatever with a blank value in bulk customer import
author
ivan
<ivan>
Tue, 26 Aug 2008 21:59:25 +0000
(21:59 +0000)
committer
ivan
<ivan>
Tue, 26 Aug 2008 21:59:25 +0000
(21:59 +0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
f0c1dea
..
7da4399
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-5714,8
+5714,8
@@
sub batch_import {
$columns[0] = $part_referral->refnum;
}
- #$cust_main{$field} = shift @$columns;
- $cust_main{$field} =
shift @columns;
+ my $value = shift @columns;
+ $cust_main{$field} =
$value if length($value);
}
}