From 97c0b5a5dc5b5853e6f52506e104bbf701ec7c8d Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 6 Nov 2017 09:43:02 +0100 Subject: [PATCH] Bug 10748: (QA follow-up) Add comment in SIP's do_checkin Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart --- C4/SIP/ILS.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/C4/SIP/ILS.pm b/C4/SIP/ILS.pm index e0f5300fe1..1bd23c6429 100644 --- a/C4/SIP/ILS.pm +++ b/C4/SIP/ILS.pm @@ -233,6 +233,9 @@ sub checkin { delete $item->{due_date}; $patron->{items} = [ grep { $_ ne $item_id } @{ $patron->{items} } ]; } else { + # Checkin failed: Wrongbranch or withdrawn? + # Bug 10748 with pref BlockReturnOfLostItems adds another case to come + # here: returning a lost item when the pref is set. $circ->screen_msg("Checkin failed"); syslog( "LOG_WARNING", "Checkin failed: probably for Wrongbranch or withdrawn" ); } -- 2.39.5