From 366b361b1bbb02e4080eb001de09506b79350592 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 Content-Type: text/plain; charset=utf-8 Signed-off-by: Marcel de Rooy --- C4/SIP/ILS.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/C4/SIP/ILS.pm b/C4/SIP/ILS.pm index e0f5300..1bd23c6 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.1.4