projects
/
freeside.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
deal when Net::MAC::Vendor-lookup doesn't return an arrayref
[freeside.git]
/
httemplate
/
misc
/
xmlhttp-cust_main-censustract.html
1
<% encode_json($return) %>\
2
<%init>
3
4
my %arg = $cgi->param('arg');
5
my $year = delete($arg{'year'});
6
my $return = get_censustract(\%arg, $year);
7
if ( $return =~ /^\d/ ) {
8
$return = { 'censustract' => $return };
9
}
10
else {
11
$return = { 'error' => $return };
12
}
13
14
</%init>