Bugzilla – Attachment 37802 Details for
Bug 13991
Uninitialized value $src in /tools/viewlog.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13991 - Uninitialized value $src in /tools/viewlog.pl
Bug-13991---Uninitialized-value-src-in-toolsviewlo.patch (text/plain), 1.44 KB, created by
Andreas Hedström Mace
on 2015-04-14 09:42:41 UTC
(
hide
)
Description:
Bug 13991 - Uninitialized value $src in /tools/viewlog.pl
Filename:
MIME Type:
Creator:
Andreas Hedström Mace
Created:
2015-04-14 09:42:41 UTC
Size:
1.44 KB
patch
obsolete
>From f893abe306d9e5bb0b8d33e02a2b00752a35f9ea Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Tue, 14 Apr 2015 07:25:45 +0200 >Subject: [PATCH] Bug 13991 - Uninitialized value $src in /tools/viewlog.pl >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To reproduce: > >Go to Home > Tools > Logs >Check intranet-error.log. >You will find a line similar to: >viewlog.pl: Use of uninitialized value $src in string eq at (...)/tools/viewlog.pl line 70., referer: http://(...)/cgi-bin/koha/tools/tools-home.pl > >To test: >Apply patch. >Verify that no more warnings appear in intranet-error.log >Verify that the log viewer behaves as before. > >Signed-off-by: Andreas Hedström Mace <andreas.hedstrom.mace@sub.su.se> >--- > tools/viewlog.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/viewlog.pl b/tools/viewlog.pl >index 6f5ea03..07859391 100755 >--- a/tools/viewlog.pl >+++ b/tools/viewlog.pl >@@ -54,7 +54,7 @@ my $datefrom = $input->param("from"); > my $dateto = $input->param("to"); > my $basename = $input->param("basename"); > my $output = $input->param("output") || "screen"; >-my $src = $input->param("src"); # this param allows us to be told where we were called from -fbcit >+my $src = $input->param("src") || ""; # this param allows us to be told where we were called from -fbcit > > my ( $template, $borrowernumber, $cookie ) = get_template_and_user( > { >-- >1.7.10.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 13991
:
37791
|
37802
|
37922
|
37980