Bug 19205 - Pay selected fine generates 500 error
commitf8a6f62d45b556251820f18f45bc4a3661af142e
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 30 Aug 2017 13:37:48 +0000 (30 09:37 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 12 Sep 2017 14:20:49 +0000 (12 16:20 +0200)
tree9eea2ac5b7784fac6c3decaf9dced77c9bd6312c
parentc87b963818076a58661922116893ff052b2d76a9
Bug 19205 - Pay selected fine generates 500 error

Using the pay selected option from the borrowers account, to pay for one specific fine among other gives a 500 error, despite the payment going through.

Test Plan:
1) Add two fines using the Create manual invoice function.
2) Select one fine and "pay selected".
3) Pay a part of the amount.
4) Note error
5) Apply this patch
6) Repeat steps 1-3
7) No error!

Signed-off-by: Andreas Hedström Mace <andreas.hedstrom.mace@sub.su.se>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 86e8612c020cea44be123be45f2e503af38ef98b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
members/paycollect.pl