diff options
author | ivan <ivan> | 2008-08-27 00:15:23 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-08-27 00:15:23 +0000 |
commit | 2c37cd91ea7951b70ea5d420e989128d78ce0a80 (patch) | |
tree | 892fe489942ad17f632a9006444e852fdeaa5d1d | |
parent | a723b3aeba37298773e52cada771e3bb2b29ae20 (diff) |
don't override countrydefault or whatever with a blank value in bulk customer import
-rw-r--r-- | FS/FS/cust_main.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index b4f7f8cd9..cc664f30b 100644 --- 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); } } |