From d53fe51e0d705f5923a0be114653492160028ddc Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 12 Aug 2011 21:57:42 +0000 Subject: fix census geocoding, RT#14060 --- httemplate/misc/xmlhttp-cust_main-censustract.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'httemplate/misc/xmlhttp-cust_main-censustract.html') diff --git a/httemplate/misc/xmlhttp-cust_main-censustract.html b/httemplate/misc/xmlhttp-cust_main-censustract.html index 3ba68afd4..97b7f5a4c 100644 --- a/httemplate/misc/xmlhttp-cust_main-censustract.html +++ b/httemplate/misc/xmlhttp-cust_main-censustract.html @@ -55,13 +55,14 @@ if ( $sub eq 'censustract' ) { my($zip5, $zip4) = split('-',$arg{zip}); + $arg{year} ||= '2011'; #ugh workaround a mess at ffiec - $arg{year} = " $arg{year}" unless $arg{year} = "2010"; + $arg{year} = " $arg{year}" if $arg{year} ne '2011'; my @ffiec_args = ( __VIEWSTATE => $viewstate, __EVENTVALIDATION => $eventvalidation, ddlbYear => $arg{year}, - ddlbYear => ' 2009', + ddlbYear => '2011', #' 2009', txtAddress => $arg{address}, txtCity => $arg{city}, ddlbState => $arg{state}, -- cgit v1.2.1