Bugzilla – Attachment 4041 Details for
Bug 6311
end_patron_session always reports a non-existent error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed Patch
0001-Bug-6311-check_inst_id-was-being-passed-non-existent.patch (text/plain), 1.05 KB, created by
Colin Campbell
on 2011-05-05 14:45:03 UTC
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Colin Campbell
Created:
2011-05-05 14:45:03 UTC
Size:
1.05 KB
patch
obsolete
>From c060eb37c1b65d01318ae7a3e80cfe5eb7290fab Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Thu, 5 May 2011 15:32:08 +0100 >Subject: [PATCH] Bug 6311 check_inst_id was being passed non-existent value >Content-Type: text/plain; charset="utf-8" > >Due to a typo in the hash key check_inst_id in the >handle_end_patron_session was always logging an error >as the actual field contents were not being checked >unlike in other messages >--- > C4/SIP/Sip/MsgType.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/SIP/Sip/MsgType.pm b/C4/SIP/Sip/MsgType.pm >index 508a06b..d76503d 100644 >--- a/C4/SIP/Sip/MsgType.pm >+++ b/C4/SIP/Sip/MsgType.pm >@@ -1027,7 +1027,7 @@ sub handle_end_patron_session { > > ($trans_date) = @{$self->{fixed_fields}}; > >- $ils->check_inst_id($fields->{FID_INST_ID}, "handle_end_patron_session"); >+ $ils->check_inst_id($fields->{(FID_INST_ID)}, 'handle_end_patron_session'); > > ($status, $screen_msg, $print_line) = $ils->end_patron_session($fields->{(FID_PATRON_ID)}); > >-- >1.7.4.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 6311
: 4041