Bugzilla – Attachment 98965 Details for
Bug 23384
Calling Koha::Article::Status::* without "use" in Patron.pm can cause breakage
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23384: Fix "strict subs" error
Bug-23384-Fix-strict-subs-error.patch (text/plain), 780 bytes, created by
Owen Leonard
on 2020-02-14 15:50:48 UTC
(
hide
)
Description:
Bug 23384: Fix "strict subs" error
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-02-14 15:50:48 UTC
Size:
780 bytes
patch
obsolete
>From 6a8ec072e45d917a253a64444c431511f65d594d Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Fri, 26 Jul 2019 14:33:46 +0100 >Subject: [PATCH] Bug 23384: Fix "strict subs" error > >This patch explicitly imports Koha::ArticleRequest::Status to avoid the >strict subs error described in the bug. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > Koha/Patron.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index c0497174a8b..30a9e3ef5e0 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -28,6 +28,7 @@ use Unicode::Normalize; > use C4::Context; > use C4::Log; > use Koha::Account; >+use Koha::ArticleRequest::Status; > use Koha::AuthUtils; > use Koha::Checkouts; > use Koha::Club::Enrollments; >-- >2.11.0
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 23384
:
91811
|
93912
|
98965
|
99191
|
100264