From 20bd2d2bd50e4e8b4f8b40e7d1df521a0e01bc09 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 --- 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