]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 24 Sep 2018 13:21:59 +0000 (15:21 +0200)
commit593dcf02e578acb0da9458bd63aba47b2a4f0973
tree7142922e18cd3fd98f2a22cfd05c58471e740f11
parent4b8f5e5dc6d15549fde7f45f53a9675ee9f0b952
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>
(cherry picked from commit 842abeb423b81c61d2774f8446a5bcbb2d0a258c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 9ef0e010cca0de135d8a270b2fd70ba155d018b6)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Patron/Discharge.pm