mystery "broken payment application" error, RT#21571
authorIvan Kohler <ivan@freeside.biz>
Tue, 26 Feb 2013 10:21:27 +0000 (02:21 -0800)
committerIvan Kohler <ivan@freeside.biz>
Tue, 26 Feb 2013 10:21:27 +0000 (02:21 -0800)
FS/FS/cust_credit.pm

index 560be20..2dfd081 100644 (file)
@@ -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}};