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:
parent
43ad66fb07
commit
97c0b5a5dc
1 changed files with 3 additions and 0 deletions
|
@ -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" );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue