allow completely empty updates (again?)
[freeside.git] / FS / FS / part_pkg_taxrate.pm
index 9e1c723..6d1414a 100644 (file)
@@ -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