X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main_county-expand.cgi;h=f5dc323724899f13cf5f8a29f48a2099adad963e;hb=cf16b23820da69e3c8d0156ae27e21c635bf1ec5;hp=6b422cca6e904a8cada22194e3a83c245c7af4a3;hpb=3d671921441ba8422650b54435a1959ad1d4c71d;p=freeside.git diff --git a/httemplate/edit/cust_main_county-expand.cgi b/httemplate/edit/cust_main_county-expand.cgi index 6b422cca6..f5dc32372 100755 --- a/httemplate/edit/cust_main_county-expand.cgi +++ b/httemplate/edit/cust_main_county-expand.cgi @@ -1,5 +1,5 @@ <% -# +# use strict; use vars qw( $cgi $taxnum $cust_main_county $p1 $delim $expansion ); @@ -27,11 +27,12 @@ if ( $cgi->param('error') ) { $expansion = ''; } -$cust_main_county = qsearchs('cust_main_county',{'taxnum'=>$taxnum}); +$cust_main_county = qsearchs('cust_main_county',{'taxnum'=>$taxnum}) + or die "cust_main_county.taxnum $taxnum not found"; die "Can't expand entry!" if $cust_main_county->getfield('county'); $p1 = popurl(1); -print $cgi->header( '-expires' => 'now' ), header("Tax Rate (expand)", menubar( +print header("Tax Rate (expand)", menubar( 'Main Menu' => popurl(2), ));