projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a723b3a
)
don't override countrydefault or whatever with a blank value in bulk customer import
author
ivan
<ivan>
Wed, 27 Aug 2008 00:15:23 +0000
(
00:15
+0000)
committer
ivan
<ivan>
Wed, 27 Aug 2008 00:15:23 +0000
(
00:15
+0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
b4f7f8c
..
cc664f3
100644
(file)
--- a/
FS/FS/cust_main.pm
+++ b/
FS/FS/cust_main.pm
@@
-6451,8
+6451,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);
}
}