X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fxmlhttp-cust_main-censustract.html;h=9d588d7125ff99544bc5ccd85a30b326f0f36a1b;hb=ad7f49821d40ffd099a45acc32ba91e0e211aede;hp=05636d3fbb4d26a20268cd708a0efe5e7e6450ec;hpb=55f003404af6a2416571138356d11c5ad3755e58;p=freeside.git 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')