summaryrefslogtreecommitdiff
path: root/httemplate/misc/xmlhttp-address_standardize.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-12-02 15:43:20 -0800
committerMark Wells <mark@freeside.biz>2014-12-02 15:43:20 -0800
commitb79d815338e1895fce025aef5dcb5f9f42028562 (patch)
tree1a6061c3403062beb3ad26d1c6d4417b8ab16052 /httemplate/misc/xmlhttp-address_standardize.html
parent99ee0e1e3b2e5e35e7fc4e8aed2093841dd3d852 (diff)
when address standardization returns a censustract, don't try to look it up through FFIEC also, #32459
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'};
}