X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fedit%2Fcust_main_county-expand.cgi;h=4460ee8ad6db36ab56daf632b151a293f14c93dd;hb=7c49a7040bddba0f89d74e9166d38279a3c85b05;hp=6b422cca6e904a8cada22194e3a83c245c7af4a3;hpb=237bea175ad19676bda76c3ac756a4c0b5bd899a;p=freeside.git diff --git a/httemplate/edit/cust_main_county-expand.cgi b/httemplate/edit/cust_main_county-expand.cgi index 6b422cca6..4460ee8ad 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,7 +27,8 @@ 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);