Bugzilla – Attachment 122796 Details for
Bug 28606
Replace $ENV{DEBUG} and $DEBUG with Koha::Logger->debug
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28606: Remove warning from C4::Auth 887
Bug-28606-Remove-warning-from-C4Auth-887.patch (text/plain), 1.15 KB, created by
Jonathan Druart
on 2021-07-13 09:42:35 UTC
(
hide
)
Description:
Bug 28606: Remove warning from C4::Auth 887
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-07-13 09:42:35 UTC
Size:
1.15 KB
patch
obsolete
>From 491843a058146023ae15cbfa463c77ea8762afd3 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 13 Jul 2021 11:42:03 +0200 >Subject: [PATCH] Bug 28606: Remove warning from C4::Auth 887 > >[WARN] Use of uninitialized value in sprintf at /kohadevbox/koha/C4/Auth.pm line 887. >--- > C4/Auth.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Auth.pm b/C4/Auth.pm >index 9d3e5761f45..c9737eddc29 100644 >--- a/C4/Auth.pm >+++ b/C4/Auth.pm >@@ -884,7 +884,7 @@ sub checkauth { > $session->param('desk_id'), $session->param('desk_name'), > $session->param('register_id'), $session->param('register_name') > ); >- Koha::Logger->get->debug(sprintf "AUTH_SESSION: (%s)\t%s %s - %s", map { $session->param($_) } qw(cardnumber firstname surname branch)); >+ Koha::Logger->get->debug(sprintf "AUTH_SESSION: (%s)\t%s %s - %s", map { $session->param($_) || q{} } qw(cardnumber firstname surname branch)); > $ip = $session->param('ip'); > $lasttime = $session->param('lasttime'); > $userid = $s_userid; >-- >2.20.1
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 28606
:
122281
|
122321
|
122327
|
122330
|
122331
| 122796