|
Lines 216-222
sub checkin {
Link Here
|
| 216 |
|
216 |
|
| 217 |
# It's ok to check it in if it exists, and if it was checked out |
217 |
# It's ok to check it in if it exists, and if it was checked out |
| 218 |
# or it was not checked out but the checked_in_ok flag was set |
218 |
# or it was not checked out but the checked_in_ok flag was set |
| 219 |
$circ->ok( ( $checked_in_ok && $item ) || ( $item && $item->{patron} ) ); |
219 |
$circ->ok( ( $checked_in_ok && $item ) || ( $item && $item->{patron} && $circ->ok ) ); |
| 220 |
syslog("LOG_DEBUG", "C4::SIP::ILS::checkin - using checked_in_ok") if $checked_in_ok; |
220 |
syslog("LOG_DEBUG", "C4::SIP::ILS::checkin - using checked_in_ok") if $checked_in_ok; |
| 221 |
|
221 |
|
| 222 |
if ( !defined( $item->{patron} ) ) { |
222 |
if ( !defined( $item->{patron} ) ) { |
| 223 |
- |
|
|