X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fstates.cgi;h=02b7be4aff21a9a05ebc91e4add1cf9065c518f2;hb=361f46c265aa76ce4fc9b00393e970d4c8b762bd;hp=63c494d156dea09d0617b5576b8d737be30261c7;hpb=929f432c766bbe3bdeed5b80818a12ddf6ec6339;p=freeside.git diff --git a/httemplate/misc/states.cgi b/httemplate/misc/states.cgi index 63c494d15..02b7be4af 100644 --- a/httemplate/misc/states.cgi +++ b/httemplate/misc/states.cgi @@ -1,6 +1,7 @@ -<% +[ <% join(', ', map { qq("$_") } @output) %> ] +<%init> - my $country = $cgi->param('arg'); - my @output = states_hash($country); +my $country = $cgi->param('arg'); +my @output = states_hash($country); -%>[ <%= join(', ', map { qq("$_") } @output) %> ] +