Bugzilla – Attachment 46129 Details for
Bug 15344
GetMemberDetails called unecessary
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15344: Remove one occurrence in circ/circulation.pl
Bug-15344-Remove-one-occurrence-in-circcirculation.patch (text/plain), 1.35 KB, created by
Marc Véron
on 2015-12-31 12:43:52 UTC
(
hide
)
Description:
Bug 15344: Remove one occurrence in circ/circulation.pl
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-12-31 12:43:52 UTC
Size:
1.35 KB
patch
obsolete
>From 09498f23b5d252101f2cb2070d8e4a10f3e4f33e Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 31 Dec 2015 11:43:54 +0000 >Subject: [PATCH] Bug 15344: Remove one occurrence in circ/circulation.pl >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >In C4::Circulation::CanBookBeIssued, $borrower->{flags} is called and >should be populated by GetMemberDetails > >It fixes the following error on checking out: >Can't use string ("1900156") as a HASH ref while "strict refs" in use at >/home/koha/src/C4/Circulation.pm line 813. > >Note: Error occurs with patrons with staff permissions, not with 'normal' patrons. >Error is fixed with this patch. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > circ/circulation.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index ab2b088..5747fbf 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -270,7 +270,7 @@ if ($findborrower) { > > # get the borrower information..... > if ($borrowernumber) { >- $borrower = C4::Members::GetMember( borrowernumber => $borrowernumber ); >+ $borrower = GetMemberDetails( $borrowernumber, 0 ); > my ( $od, $issue, $fines ) = GetMemberIssuesAndFines( $borrowernumber ); > > # Warningdate is the date that the warning starts appearing >-- >1.7.10.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 15344
:
45553
|
45560
|
45604
|
45605
|
45848
|
45849
|
46121
| 46129