From: jeff Date: Thu, 31 Dec 2009 02:50:40 +0000 (+0000) Subject: really reduce the noise X-Git-Tag: root_of_svc_elec_features~580 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=ae257597c5b7f8c3f5cce2f0fd8a062eda226f4c really reduce the noise --- diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 023504730..746afd77e 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -7986,10 +7986,11 @@ sub geocode { ? 'ship_' : ''; - my ($zip,$plus4) = ( '', '' ); - ($zip,$plus4) = split /-/, $self->get("${prefix}zip") + my($zip,$plus4) = split /-/, $self->get("${prefix}zip") if $self->country eq 'US'; + $zip ||= ''; + $plus4 ||= ''; #CCH specific location stuff my $extra_sql = "AND plus4lo <= '$plus4' AND plus4hi >= '$plus4'";