From 43022c87985f0d90f75e0a2d180e1011fc14b030 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 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 2256a8532335f763346f13698cb840dd97ecafa3) Signed-off-by: Fridolin Somers --- 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 09034a7f86..e29d390da8 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.39.5