allow completely empty updates (again?)
[freeside.git] / FS / FS / cust_tax_location.pm
index 7a6af34..b7437a0 100644 (file)
@@ -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