Bug 19205 - Pay selected fine generates 500 error
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 30 Aug 2017 13:37:48 +0000 (09:37 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 30 Aug 2017 18:05:22 +0000 (15:05 -0300)
commit86e8612c020cea44be123be45f2e503af38ef98b
tree70f8b687501179d8c43b6e4bc0e0d20f5e22f835
parentce2561441c3c6e5bdc5ee7011d250c24a2d49105
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>
members/paycollect.pl