projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e928da
)
really reduce the noise
author
jeff
<jeff>
Thu, 31 Dec 2009 02:50:40 +0000
(
02:50
+0000)
committer
jeff
<jeff>
Thu, 31 Dec 2009 02:50:40 +0000
(
02:50
+0000)
FS/FS/cust_main.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main.pm
b/FS/FS/cust_main.pm
index
0235047
..
746afd7
100644
(file)
--- 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'";