summaryrefslogtreecommitdiff
path: root/httemplate/misc/xmlhttp-address_standardize.html
diff options
context:
space:
mode:
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'};
}