summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-02-26 02:21:27 -0800
committerIvan Kohler <ivan@freeside.biz>2013-02-26 02:21:27 -0800
commit86c903255c2d6bdef69b7a63be9d059292c905e6 (patch)
tree10bfd4e0a762656ee0da49d1d9aa0f8cc775ade2
parent5638d0d0ed016a3727516a815045a8583cbe096f (diff)
mystery "broken payment application" error, RT#21571
-rw-r--r--FS/FS/cust_credit.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/FS/FS/cust_credit.pm b/FS/FS/cust_credit.pm
index 560be20b4..2dfd081c8 100644
--- a/FS/FS/cust_credit.pm
+++ b/FS/FS/cust_credit.pm
@@ -717,8 +717,7 @@ sub credit_lineitems {
my %cust_credit_bill = ();
my %cust_bill_pkg = ();
my %cust_credit_bill_pkg = ();
- # except here they're billpaynums
- my %unapplied_payments;
+ my %unapplied_payments = (); # except here they're billpaynums
foreach my $billpkgnum ( @{$arg{billpkgnums}} ) {
my $setuprecur = shift @{$arg{setuprecurs}};
my $amount = shift @{$arg{amounts}};