From: jeff Date: Mon, 3 Nov 2008 15:28:13 +0000 (+0000) Subject: REAL otherwise there are no taxes X-Git-Tag: root_of_webpay_support~267 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=87cfc5f70a17f49b641490d48b93d4df03b1685f REAL otherwise there are no taxes --- 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 ) {