diff options
author | ivan <ivan> | 2008-04-01 06:37:20 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-04-01 06:37:20 +0000 |
commit | 2f673cd6e61a8c67c4ef89d11cae3e96a7fac306 (patch) | |
tree | 1fb42ec8d04622c043fe8a5a40bd0a9980513829 /httemplate | |
parent | 145e7ee0b767e95c229657680ae477bb693ac7fc (diff) |
probably doesn't matter now, but better error reporting anyway
Diffstat (limited to 'httemplate')
-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; |