From 617b72a54eb80fd7ea5e55be9484cf1dbf5e292f Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 4 Mar 2016 11:25:27 +0100 Subject: [PATCH] Bug 13871: [QA Follow-up] Add $server for FID_SCREEN_MSG When you are ready, you still see that small detail. Signed-off-by: Marcel de Rooy Signed-off-by: Brendan A Gallagher --- C4/SIP/Sip/MsgType.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/SIP/Sip/MsgType.pm b/C4/SIP/Sip/MsgType.pm index bd6f05b375..f43aaa6f75 100644 --- a/C4/SIP/Sip/MsgType.pm +++ b/C4/SIP/Sip/MsgType.pm @@ -459,7 +459,7 @@ sub build_patron_status { ( $protocol_version >= 2 ) and $resp .= add_field( FID_VALID_PATRON, 'N' ); - $resp .= maybe_add( FID_SCREEN_MSG, INVALID_CARD ); + $resp .= maybe_add( FID_SCREEN_MSG, INVALID_CARD, $server ); } $resp .= add_field( FID_INST_ID, $fields->{ (FID_INST_ID) } ); @@ -1028,7 +1028,7 @@ sub handle_patron_info { if ( $protocol_version >= 2 ) { $resp .= add_field( FID_VALID_PATRON, 'N' ); } - $resp .= maybe_add( FID_SCREEN_MSG, INVALID_CARD ); + $resp .= maybe_add( FID_SCREEN_MSG, INVALID_CARD, $server ); } $self->write_msg( $resp, undef, $server->{account}->{terminator}, $server->{account}->{encoding} ); -- 2.39.5