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 <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
Marcel de Rooy 2016-03-04 11:25:27 +01:00 committed by Brendan A Gallagher
parent b02aa7c421
commit 617b72a54e
1 changed files with 2 additions and 2 deletions

View File

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