From: jeff Date: Thu, 28 Aug 2008 22:00:05 +0000 (+0000) Subject: updates can be completely empty X-Git-Tag: root_of_webpay_support~405 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=2f709ab04cee5c24fb3e4938ad879a2019962499 updates can be completely empty --- 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