fix quick one-time charges, #37591, from #34598
authorMark Wells <mark@freeside.biz>
Fri, 7 Aug 2015 02:17:15 +0000 (19:17 -0700)
committerMark Wells <mark@freeside.biz>
Fri, 7 Aug 2015 02:17:15 +0000 (19:17 -0700)
httemplate/edit/process/quick-charge.cgi

index 23eead4..8ee1821 100644 (file)
@@ -122,7 +122,7 @@ if ( $param->{'pkgnum'} =~ /^(\d+)$/ ) { #modifying an existing one-time charge
 
   if ( $param->{'taxclass'} eq '(select)' ) {
     $error .= "Must select a tax class.  "
-      unless ($conf->config('tax_data_vendor'))
+      unless ($conf->config('tax_data_vendor') &&
                ( $override || $param->{taxproductnum} )
              );
     $cgi->param('taxclass', '');