From 87cfc5f70a17f49b641490d48b93d4df03b1685f Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 3 Nov 2008 15:28:13 +0000 Subject: [PATCH] REAL otherwise there are no taxes --- FS/FS/cust_main.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.11.0