Bug 23822: Fix deletion of patrons with credit
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 11 Nov 2019 11:35:30 +0000 (12:35 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 18 Nov 2019 08:29:37 +0000 (09:29 +0100)
commitc433411ba763ed6c021d4d4ab487a2bcb3e17ac7
tree3e77aa2ad1b8ee412bdf0f91a6f2d7ee057b49a7
parentb9dbe40cfb0b9842273ceedc13c9592bb4ca1aff
Bug 23822: Fix deletion of patrons with credit

There are bugs in both master and 19.05, but different.

Anyway we should have this check to make sure a negative value will have
the same behavior: trigger the confirmation message (instead of a blank
page).

If we want to reject the deletion of a patron with credit we should
handle it on a separate bug report (behavior change)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit d23e50f0b239603a05ddbb62591e80657f5f6cae)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
members/deletemem.pl