summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeff <jeff>2008-11-03 15:28:13 +0000
committerjeff <jeff>2008-11-03 15:28:13 +0000
commit87cfc5f70a17f49b641490d48b93d4df03b1685f (patch)
tree3f8b635299e29f8de73fcdef029e6439e8cf06ee
parent3bd1b2b68adbb67f90addd668132d3d3e9adb698 (diff)
REAL otherwise there are no taxes
-rw-r--r--FS/FS/cust_main.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index 3e767d9f0..d5b45b0f5 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -2652,7 +2652,7 @@ sub _handle_taxes {
my %tax_cust_bill_pkg = $cust_bill_pkg->disintegrate;
foreach my $key (keys %tax_cust_bill_pkg) {
- my @taxes = @{ $taxes{$key} };
+ my @taxes = @{ $taxes{$key} || [] };
my $tax_cust_bill_pkg = $tax_cust_bill_pkg{$key};
foreach my $tax ( @taxes ) {