summaryrefslogtreecommitdiff
path: root/httemplate/misc/xmlhttp-address_standardize.html
diff options
context:
space:
mode:
authorJeremy Davis <jeremyd@freeside.biz>2014-11-29 16:11:48 -0500
committerJeremy Davis <jeremyd@freeside.biz>2014-11-29 16:11:48 -0500
commitb35987f47a04e2875949ac95dcbb19ff49026e33 (patch)
tree17ac9cef0dc63bd861e96eca7a5bd150d992ee9d /httemplate/misc/xmlhttp-address_standardize.html
parentefda9cfb8ce85fda27efa452784a530d06b7820c (diff)
parent06b7b4024abdd67573dcceb896f3e982d85eaffe (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc/xmlhttp-address_standardize.html')
-rw-r--r--httemplate/misc/xmlhttp-address_standardize.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/misc/xmlhttp-address_standardize.html b/httemplate/misc/xmlhttp-address_standardize.html
index 618265364..d0255a02a 100644
--- a/httemplate/misc/xmlhttp-address_standardize.html
+++ b/httemplate/misc/xmlhttp-address_standardize.html
@@ -43,6 +43,10 @@ foreach my $pre ( @prefixes ) {
last if !$all_same;
}
+ $all_same = 0 if ( length( $old{$pre.'censustract'} ) > 0 &&
+ length( $new{$pre.'censustract'} ) > 0 &&
+ $old{$pre.'censustract'} ne $new{$pre.'censustract'} );
+
$all_same = 0 if $new{$pre.'error'};
}