diff options
author | ivan <ivan> | 2008-04-01 06:37:21 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-04-01 06:37:21 +0000 |
commit | 8c495658f865ebaf27a0fb19272c2fa95df1a519 (patch) | |
tree | 46541bea1e790a451dbd3e38d8357c67f93fcf67 | |
parent | af5133610865324e88e2005e0e5f13700664d743 (diff) |
probably doesn't matter now, but better error reporting anyway
-rw-r--r-- | httemplate/edit/cust_main_county.html | 4 |
1 files changed, 2 insertions, 2 deletions
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; </%once> - <%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; |