From b6a968835502dd5f37989980edb158255bcd899b 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 --- 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 d18029dcd0..682d4fd0ae 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.34.0