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 <frederic@tamil.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Colin Campbell 2011-05-05 15:32:08 +01:00 committed by Chris Cormack
parent 8fc65ede3a
commit e793b0dda6

View file

@ -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)});