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