X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_main.pm;h=d5b45b0f522d48e529f0c2fc449b60e47f0d2cbe;hp=3e767d9f0277f9cb844d8294c2d79215127799f5;hb=87cfc5f70a17f49b641490d48b93d4df03b1685f;hpb=3bd1b2b68adbb67f90addd668132d3d3e9adb698 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 ) {