summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2008-08-26 21:59:25 +0000
committerivan <ivan>2008-08-26 21:59:25 +0000
commit995f0aee0f1763ad4cf4240c0e74d97e2e411e71 (patch)
tree0827767dba30da297777be040852cf1bf4ac31a0 /FS
parent4c312e728958deadcc0092a6f664f86aa392df55 (diff)
don't override countrydefault or whatever with a blank value in bulk customer import
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_main.pm4
1 files 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);
}
}