From 97c168704b576bf59e4778417f066c1097d3014d Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 15 Apr 2021 15:28:58 +0000 Subject: [PATCH] Bug 25508: (QA follow-up) Add interface These patches are making the call for an amount match the call for a specific line, we should also match the passing of interface to ensure the correct pref is checked Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- Koha/Account.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Account.pm b/Koha/Account.pm index 55ee594ff8..3916fa76be 100644 --- a/Koha/Account.pm +++ b/Koha/Account.pm @@ -204,7 +204,7 @@ sub pay { # in order that we can potentially renew it, do so. my $amt = $old_amountoutstanding - $amount_to_pay; if ( $fine->renewable ) { - my $outcome = $fine->renew_item; + my $outcome = $fine->renew_item({ interface => $interface }); push @{$renew_outcomes}, $outcome if $outcome; } -- 2.39.5