From dffd83aae09dbda89f979d3e7f9c77cf2e01bd82 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Thu, 25 Oct 2018 13:23:31 +0100 Subject: [PATCH] Bug 21641: (follow-up) Address additional call This patch makes the same change as the main patch, just for an additional occurance of getnextacctno Signed-off-by: Alex Buckley Signed-off-by: Tomas Cohen Arazi Signed-off-by: Nick Clemens (cherry picked from commit 6fba062d291e065b4a6d7ffebdf82db9d6935971) Signed-off-by: Martin Renvoize (cherry picked from commit e79fac32c8ca7ef01b516feea461a07c7e8e3570) Signed-off-by: Fridolin Somers --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index ea1b500f8a..30c42d5325 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2852,7 +2852,7 @@ sub AddRenewal { # Charge a new rental fee, if applicable? my ( $charge, $type ) = GetIssuingCharges( $itemnumber, $borrowernumber ); if ( $charge > 0 ) { - my $accountno = getnextacctno( $borrowernumber ); + my $accountno = C4::Accounts->getnextacctno( $borrowernumber ); my $manager_id = 0; $manager_id = C4::Context->userenv->{'number'} if C4::Context->userenv; $sth = $dbh->prepare( -- 2.39.5