From e793b0dda64989e216f285a3bd56110565dd1831 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Thu, 5 May 2011 15:32:08 +0100 Subject: [PATCH] Bug 6311 check_inst_id was being passed non-existent value 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 Signed-off-by: Frederic Demains Signed-off-by: Chris Cormack --- C4/SIP/Sip/MsgType.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/SIP/Sip/MsgType.pm b/C4/SIP/Sip/MsgType.pm index 508a06ba5a..d76503d8b0 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)});