From 369f93dcbe9fa4cd9b402e7669f7a2c7275afc49 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 --- 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 2f7ba7da0f..6a4d7063ca 100644 --- a/C4/SIP/Sip/MsgType.pm +++ b/C4/SIP/Sip/MsgType.pm @@ -693,6 +693,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.20.1