summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FS/FS/cust_main.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index de836257e..023504730 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -7986,7 +7986,8 @@ sub geocode {
? 'ship_'
: '';
- my ($zip,$plus4) = split /-/, $self->get("${prefix}zip")
+ my ($zip,$plus4) = ( '', '' );
+ ($zip,$plus4) = split /-/, $self->get("${prefix}zip")
if $self->country eq 'US';
#CCH specific location stuff