From 2f709ab04cee5c24fb3e4938ad879a2019962499 Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 28 Aug 2008 22:00:05 +0000 Subject: [PATCH] updates can be completely empty --- FS/FS/tax_rate.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm index 4769b32ab..e0f98afd3 100644 --- a/FS/FS/tax_rate.pm +++ b/FS/FS/tax_rate.pm @@ -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 -- 2.11.0