]> git.koha-community.org Git - koha.git/commit
Bug 20951: add missing use Koha::Patron::Debarments in Koha::Patron::Discharge
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 15 Jun 2018 10:56:36 +0000 (12:56 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 25 Jun 2018 17:22:41 +0000 (18:22 +0100)
commit842abeb423b81c61d2774f8446a5bcbb2d0a258c
tree0bbe7f8ac423ab20a5c7f1267554d266f6eb8ea6
parent0c55e894f49d9e87510fb8bda8b9e9020b39b5f7
Bug 20951: add missing use Koha::Patron::Debarments in Koha::Patron::Discharge

Koha::Patron::Discharge was missing use Koha::Patron::Debarments used in discharge() method.

Test plan :
1) Enable pref useDischarge
2) Go to OPAC user page
3) Go to 'ask for a discharge' tab
4) Click on 'Ask for a discharge'
5) Go to staff interface : /cgi-bin/koha/members/discharges.pl
6) Click on Allow
=> Without patch you get software error
=> With patch the discharge is validated

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Patron/Discharge.pm