From a03af434071458889d27d163bb1610421d5d2acf Mon Sep 17 00:00:00 2001 From: Per Larsson Date: Wed, 18 Sep 2019 10:50:37 +0200 Subject: [PATCH] Bug 23548: Set AQ to empty when item not exist Signed-off-by: David Nind Signed-off-by: Martin Renvoize Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Kyle M Hall --- C4/SIP/Sip/MsgType.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/SIP/Sip/MsgType.pm b/C4/SIP/Sip/MsgType.pm index 09034a7f866..e29d390da84 100644 --- a/C4/SIP/Sip/MsgType.pm +++ b/C4/SIP/Sip/MsgType.pm @@ -704,6 +704,8 @@ sub handle_checkin { $resp .= add_field( FID_PERM_LOCN, $item->permanent_location, $server ); $resp .= maybe_add( FID_TITLE_ID, $item->title_id, $server ); $resp .= $item->build_additional_item_fields_string( $server ); + } else { + $resp .= add_field( FID_PERM_LOCN, "", $server ); } if ( $protocol_version >= 2 ) { -- 2.30.2