diff options
| -rw-r--r-- | FS/FS/cust_tax_location.pm | 2 | ||||
| -rw-r--r-- | FS/FS/part_pkg_taxrate.pm | 2 | ||||
| -rw-r--r-- | FS/FS/tax_class.pm | 2 | 
3 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/cust_tax_location.pm b/FS/FS/cust_tax_location.pm index 7a6af341d..b7437a08b 100644 --- a/FS/FS/cust_tax_location.pm +++ b/FS/FS/cust_tax_location.pm @@ -314,7 +314,7 @@ sub batch_import {    $dbh->commit or die $dbh->errstr if $oldAutoCommit; -  return "Empty file!" unless $imported; +  return "Empty file!" unless ( $imported || $format =~ /^cch-update/ );    ''; #no error diff --git a/FS/FS/part_pkg_taxrate.pm b/FS/FS/part_pkg_taxrate.pm index 9e1c723d0..6d1414a18 100644 --- a/FS/FS/part_pkg_taxrate.pm +++ b/FS/FS/part_pkg_taxrate.pm @@ -384,7 +384,7 @@ sub batch_import {    $dbh->commit or die $dbh->errstr if $oldAutoCommit; -  return "Empty file!" unless $imported; +  return "Empty file!" unless ( $imported || $format eq 'cch-update' );    ''; #no error diff --git a/FS/FS/tax_class.pm b/FS/FS/tax_class.pm index 51d87ab10..480fa10a6 100644 --- a/FS/FS/tax_class.pm +++ b/FS/FS/tax_class.pm @@ -368,7 +368,7 @@ sub batch_import {    $dbh->commit or die $dbh->errstr if $oldAutoCommit; -  return "Empty File!" unless $imported; +  return "Empty File!" unless ($imported || $format eq 'cch-update');    ''; #no error  | 
