Bug 10748: (QA follow-up) Add comment in SIP's do_checkin

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Marcel de Rooy 2017-11-06 09:43:02 +01:00 committed by Jonathan Druart
parent 43ad66fb07
commit 97c0b5a5dc

View file

@ -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" );
}