From: ivan Date: Tue, 1 Apr 2008 06:37:20 +0000 (+0000) Subject: probably doesn't matter now, but better error reporting anyway X-Git-Tag: root_of_webpay_support~762 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=2f673cd6e61a8c67c4ef89d11cae3e96a7fac306 probably doesn't matter now, but better error reporting anyway --- 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;