updates can be completely empty
authorjeff <jeff>
Thu, 28 Aug 2008 22:00:05 +0000 (22:00 +0000)
committerjeff <jeff>
Thu, 28 Aug 2008 22:00:05 +0000 (22:00 +0000)
FS/FS/tax_rate.pm

index 4769b32..e0f98af 100644 (file)
@@ -717,7 +717,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