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 <alexbuckley@catalyst.net.nz> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
344dba2fb8
commit
6fba062d29
1 changed files with 1 additions and 1 deletions
|
@ -2851,7 +2851,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(
|
||||
|
|
Loading…
Reference in a new issue