Bugzilla – Attachment 76167 Details for
Bug 20951
Koha::Patron::Discharge is missing use Koha::Patron::Debarments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20951: add missing use Koha::Patron::Debarments in Koha::Patron::Discharge
Bug-20951-add-missing-use-KohaPatronDebarments-in-.patch (text/plain), 1.19 KB, created by
Katrin Fischer
on 2018-06-19 06:15:54 UTC
(
hide
)
Description:
Bug 20951: add missing use Koha::Patron::Debarments in Koha::Patron::Discharge
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-06-19 06:15:54 UTC
Size:
1.19 KB
patch
obsolete
>From ab23f452f84573b4ca8d343c26f57101a472f73b Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 15 Jun 2018 12:56:36 +0200 >Subject: [PATCH] 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> > >https://bugs.koha-community.org/show_bug.cgi?id=20953 >--- > Koha/Patron/Discharge.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/Koha/Patron/Discharge.pm b/Koha/Patron/Discharge.pm >index 0364214..5add12dbe 100644 >--- a/Koha/Patron/Discharge.pm >+++ b/Koha/Patron/Discharge.pm >@@ -10,6 +10,7 @@ use C4::Templates qw ( gettemplate ); > use Koha::Database; > use Koha::DateUtils qw( dt_from_string output_pref ); > use Koha::Patrons; >+use Koha::Patron::Debarments; > > sub count { > my ($params) = @_; >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20951
:
76093
|
76167
|
76194