From 2c37cd91ea7951b70ea5d420e989128d78ce0a80 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 27 Aug 2008 00:15:23 +0000 Subject: [PATCH] don't override countrydefault or whatever with a blank value in bulk customer import --- FS/FS/cust_main.pm | 4 ++-- 1 file 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); } } -- 2.20.1