summaryrefslogtreecommitdiff
path: root/httemplate/misc/xmlhttp-cust_main-censustract.html
diff options
context:
space:
mode:
authorjeff <jeff>2009-07-27 03:26:47 +0000
committerjeff <jeff>2009-07-27 03:26:47 +0000
commitf3717767d19f9da888e190f87a04dfa245d658b4 (patch)
tree198b6454ec80efd88096d5574feb5c83bf827a20 /httemplate/misc/xmlhttp-cust_main-censustract.html
parent6a8c7c021a01b85ce172a230757b000fe2959a31 (diff)
FCC from 477 improvements #4912
Diffstat (limited to 'httemplate/misc/xmlhttp-cust_main-censustract.html')
-rw-r--r--httemplate/misc/xmlhttp-cust_main-censustract.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/misc/xmlhttp-cust_main-censustract.html b/httemplate/misc/xmlhttp-cust_main-censustract.html
index 05636d3fb..9d588d712 100644
--- a/httemplate/misc/xmlhttp-cust_main-censustract.html
+++ b/httemplate/misc/xmlhttp-cust_main-censustract.html
@@ -86,6 +86,8 @@ if ( $sub eq 'censustract' ) {
}
$error = "No census tract found" unless $return->{tractcode};
+ $return->{tractcode} .= ' '
+ unless $error || $JSON::VERSION >= 2; #broken JSON 1 workaround
} #unless ($res->code eq '200')