X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fcust_main_county.html;fp=httemplate%2Fedit%2Fcust_main_county.html;h=5d7f9e62e5ddeccab9da9fc08eedea965038a36b;hb=2f673cd6e61a8c67c4ef89d11cae3e96a7fac306;hp=510839d71f4127eda6b8c68d36f9b580a06f153c;hpb=145e7ee0b767e95c229657680ae477bb693ac7fc;p=freeside.git diff --git a/httemplate/edit/cust_main_county.html b/httemplate/edit/cust_main_county.html index 510839d71..5d7f9e62e 100644 --- a/httemplate/edit/cust_main_county.html +++ b/httemplate/edit/cust_main_county.html @@ -21,7 +21,6 @@ my $conf = new FS::Conf; - <%init> die "access denied" @@ -29,7 +28,8 @@ die "access denied" my $taxnum; if ( $cgi->param('error') ) { - $cgi->param('taxnum') =~ /^(\d+)$/ or die 'error, but no taxnum'; + $cgi->param('taxnum') =~ /^(\d+)$/ + or die "no taxnum, but error: ". $cgi->param('error'); $taxnum = $1; } else { my($query) = $cgi->keywords;