From 2d07c5ec2fb543173a3ff7f4a3f1d402988f6070 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 Content-Type: text/plain; charset=utf-8 When you are ready, you still see that small detail. Signed-off-by: Marcel de Rooy --- 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 bd6f05b..f43aaa6 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} ); -- 1.7.10.4