Bug 23788: Rename $select_lines to $selected_lines
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 9 Oct 2019 16:45:33 +0000 (12:45 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 11 Nov 2019 10:32:41 +0000 (10:32 +0000)
Signed-off-by: Sean McGarvey <seanm@pascolibraries.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

members/paycollect.pl

index e4dd2e4..ef81b53 100755 (executable)
@@ -69,7 +69,7 @@ my $total_due  = $account->outstanding_debits->total_outstanding;
 
 my $total_paid = $input->param('paid');
 
-my $select_lines = $input->param('selected');
+my $selected_lines = $input->param('selected');
 my $pay_individual   = $input->param('pay_individual');
 my $selected_accts   = $input->param('selected_accts');
 my $payment_note = uri_unescape scalar $input->param('payment_note');
@@ -127,10 +127,10 @@ if ( $pay_individual || $writeoff_individual ) {
         individual_description => $description,
         payment_note    => $payment_note,
     );
-} elsif ($select_lines) {
+} elsif ($selected_lines) {
     $total_due = $input->param('amt');
     $template->param(
-        selected_accts => $select_lines,
+        selected_accts => $selected_lines,
         amt            => $total_due,
         selected_accts_notes => scalar $input->param('notes'),
     );