From 2f673cd6e61a8c67c4ef89d11cae3e96a7fac306 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 1 Apr 2008 06:37:20 +0000 Subject: [PATCH] probably doesn't matter now, but better error reporting anyway --- httemplate/edit/cust_main_county.html | 4 ++-- 1 file 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; - <%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; -- 2.11.0