Bug 19487: Do not return an item if not checked out
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 18 Oct 2017 16:59:56 +0000 (13:59 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 20 Nov 2017 13:05:59 +0000 (14:05 +0100)
commit243009bc9a07f89adbe14a4c8f35df85030f3dab
tree3e6e57457bd9ac17cdd39b36f252d997ec5a3169
parent67a3bd6d78eab1bda2d3905a8d842ef0614e0256
Bug 19487: Do not return an item if not checked out

To recreate:
1 - Manually add a lost fine to a ptron and include a barcode
2 - Attempt to write off the fine
3 - Internal server error
4 - Checkout an item and mark lost to checkin and fine
5 - Attempt to write off line
6 - Internal server error

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 7b5c1fce5880f8592c5a9dbd40614a760bb2607e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Circulation.pm