Bugzilla – Attachment 6017 Details for
Bug 7060
All instances of GetMemberDetails are unnecessary in C4::Circulation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Followup Patch
0001-Bug-7060-Followup-AddReturn-needs-GetMemberDetails.patch (text/plain), 1.13 KB, created by
Ian Walls
on 2011-10-21 14:54:38 UTC
(
hide
)
Description:
Followup Patch
Filename:
MIME Type:
Creator:
Ian Walls
Created:
2011-10-21 14:54:38 UTC
Size:
1.13 KB
patch
obsolete
>From 9bb0ac7f80bb59ac383919dea82e0ba2184948f0 Mon Sep 17 00:00:00 2001 >From: Ian Walls <ian.walls@bywatersolutions.com> >Date: Fri, 21 Oct 2011 10:49:58 -0400 >Subject: [PATCH] Bug 7060 Followup: AddReturn needs GetMemberDetails > >In my haste, I overlooked circ/returns.pl's need for borrower flags. This patch >changes back the call in AddReturn from GetMember to GetMemberDetails >--- > C4/Circulation.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index c43385a..9f81773 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -1525,7 +1525,7 @@ sub AddReturn { > my $issue = GetItemIssue($itemnumber); > # warn Dumper($iteminformation); > if ($issue and $issue->{borrowernumber}) { >- $borrower = C4::Members::GetMember( borrowernumber => $issue->{borrowernumber}) >+ $borrower = C4::Members::GetMemberDetails($issue->{borrowernumber}) > or die "Data inconsistency: barcode $barcode (itemnumber:$itemnumber) claims to be issued to non-existant borrowernumber '$issue->{borrowernumber}'\n" > . Dumper($issue) . "\n"; > } else { >-- >1.7.4.1 >
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 7060
:
5969
|
5996
| 6017