probably doesn't matter now, but better error reporting anyway
authorivan <ivan>
Tue, 1 Apr 2008 06:37:20 +0000 (06:37 +0000)
committerivan <ivan>
Tue, 1 Apr 2008 06:37:20 +0000 (06:37 +0000)
httemplate/edit/cust_main_county.html

index 510839d..5d7f9e6 100644 (file)
@@ -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;