summaryrefslogtreecommitdiff
path: root/httemplate/misc
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-11-26 16:55:41 -0800
committerMark Wells <mark@freeside.biz>2014-11-26 16:55:41 -0800
commit0f0bc1ef7aafc6b3869c0f71ee2528c1c9897ce6 (patch)
treeb7a70adbcac67c46bff79f0930d5a6ed2104a73f /httemplate/misc
parent79df9da17cf54366ef027a941c131cb1a016068e (diff)
don't look up or display census tracts for non-U.S. addresses, #32249
Diffstat (limited to 'httemplate/misc')
-rw-r--r--httemplate/misc/confirm-censustract.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/misc/confirm-censustract.html b/httemplate/misc/confirm-censustract.html
index 880cade3a..024bc17c4 100644
--- a/httemplate/misc/confirm-censustract.html
+++ b/httemplate/misc/confirm-censustract.html
@@ -1,3 +1,10 @@
+% if ( !$error and !$new_tract ) {
+% # then set_censustract returned nothing
+% # because it's not relevant for this address
+% # so output nothing (forces confirm_censustract() to continue)
+% $m->clear_buffer;
+% $m->abort;
+% }
<CENTER><BR><B>
% if ( $error ) {
Census tract error