Bugzilla – Attachment 81200 Details for
Bug 21641
Software error when checking out an item with a charge associated with it
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21641: (follow-up) Address additional call
Bug-21641-follow-up-Address-additional-call.patch (text/plain), 1.05 KB, created by
Alex Buckley
on 2018-10-25 20:24:13 UTC
(
hide
)
Description:
Bug 21641: (follow-up) Address additional call
Filename:
MIME Type:
Creator:
Alex Buckley
Created:
2018-10-25 20:24:13 UTC
Size:
1.05 KB
patch
obsolete
>From 3774d3bdfa378855b49456dbce29afb65affad86 Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >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 <alexbuckley@catalyst.net.nz> >--- > C4/Circulation.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 50be185..efb923d 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -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( >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21641
:
81046
|
81138
|
81139
|
81140
|
81149
|
81200
|
81201
|
81408
|
81409
|
81410