Bugzilla – Attachment 6217 Details for
Bug 7160
paying fines throws error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed Patch
0001-Bug-7160-paying-fines-throws-error.patch (text/plain), 959 bytes, created by
Ian Walls
on 2011-11-05 03:30:53 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Ian Walls
Created:
2011-11-05 03:30:53 UTC
Size:
959 bytes
patch
obsolete
>From 1b7969e798ef3ad73d3249e40b5f221d06f1f71f Mon Sep 17 00:00:00 2001 >From: Ian Walls <ian.walls@bywatersolutions.com> >Date: Fri, 4 Nov 2011 23:28:31 -0400 >Subject: [PATCH] Bug 7160: paying fines throws error > >The call to ReturnLostItem in C4/Accounts was not properly namespaced to >come from C4::Circulation. That prefix is added to the call. > >To test: > >Pay a fine, and confirm the error disappears (and the fines is still paid) >--- > C4/Accounts.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Accounts.pm b/C4/Accounts.pm >index 860e187..e822b6a 100644 >--- a/C4/Accounts.pm >+++ b/C4/Accounts.pm >@@ -217,7 +217,7 @@ sub makepayment { > > #check to see what accounttype > if ( $data->{'accounttype'} eq 'Rep' || $data->{'accounttype'} eq 'L' ) { >- ReturnLostItem( $borrowernumber, $data->{'itemnumber'} ); >+ C4::Circulation::ReturnLostItem( $borrowernumber, $data->{'itemnumber'} ); > } > } > >-- >1.7.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 7160
:
6217
|
6220