]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 22 Jun 2018 13:11:26 +0000 (13:11 +0000)
commit91622bba18d33af7699a634a697f432bd63dc25e
treed23680b7184217b07167d819fe71437814d4c2d2
parentb81746e40490f8d631d722e475d5b957ed27e028
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>
Koha/Patron/Discharge.pm