From 11aaf479db7f62a8f29bbd26a8f719143a686fbb Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 8 Jun 2018 12:03:01 +0000 Subject: [PATCH] Bug 20120: (QA follow-up) display correct amount in redirect --- members/pay.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/pay.pl b/members/pay.pl index 3ef1200..53a8f37 100755 --- a/members/pay.pl +++ b/members/pay.pl @@ -98,7 +98,7 @@ if ($writeoff_all) { if ( $amount > $accountline->amountoutstanding ) { print $input->redirect( "/cgi-bin/koha/members/paycollect.pl?" . "borrowernumber=$borrowernumber" - . "&amount=$amount" + . "&amount=" . $accountline->amount . "&amountoutstanding=" . $accountline->amountoutstanding . "&accounttype=" . $accountline->accounttype . "&accountlines_id=" . $accountlines_id -- 2.1.4