From 995f0aee0f1763ad4cf4240c0e74d97e2e411e71 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 26 Aug 2008 21:59:25 +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 f0c1deacd..7da43998b 100644 --- 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); } } -- 2.20.1