Bugzilla – Attachment 94407 Details for
Bug 23712
Silence warns from Koha/Illrequest/Logger.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23712 - Silence warns from Koha/Illrequest/Logger.pm
Bug-23712---Silence-warns-from-KohaIllrequestLogge.patch (text/plain), 1.36 KB, created by
Marcel de Rooy
on 2019-10-18 12:36:39 UTC
(
hide
)
Description:
Bug 23712 - Silence warns from Koha/Illrequest/Logger.pm
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2019-10-18 12:36:39 UTC
Size:
1.36 KB
patch
obsolete
>From 631ad60ac49dbde9f721c2016d4fc7a8fb721889 Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@libriotech.no> >Date: Tue, 1 Oct 2019 16:41:31 +0200 >Subject: [PATCH] Bug 23712 - Silence warns from Koha/Illrequest/Logger.pm >Content-Type: text/plain; charset=utf-8 > >To test: >- Run: $ sudo koha-shell -c "prove t/db_dependent/Illrequests.t" kohadev >- Observe the warnings about "no query in themelanguage" >- Apply the patch >- Run prove again >- Observe the lack of warnings about "no query in themelanguage" > (There will be a couple of other warnings, but they are not > related to the present bug.) > >Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/Illrequest/Logger.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/Koha/Illrequest/Logger.pm b/Koha/Illrequest/Logger.pm >index 0625370237..bdd4e8f5ff 100644 >--- a/Koha/Illrequest/Logger.pm >+++ b/Koha/Illrequest/Logger.pm >@@ -65,8 +65,9 @@ sub new { > } > }; > >+ my $query = new CGI; # To keep C4::Templates::_get_template_file() from complaining > my ( $htdocs, $theme, $lang, $base ) = >- C4::Templates::_get_template_file('ill/log/', 'intranet'); >+ C4::Templates::_get_template_file('ill/log/', 'intranet', $query); > > $self->{templates} = { > STATUS_CHANGE => $base . 'status_change.tt' >-- >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 23712
:
93376
|
93441
| 94407 |
94408