From d17c36516185856bb4107f8d2c628f24a9d5ce24 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 Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- members/pay.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members/pay.pl b/members/pay.pl index 3ef12008ae..53a8f37794 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.39.5