Skip to content

Commit

Permalink
Bug 28606: Remove warning from C4::Auth 887
Browse files Browse the repository at this point in the history
[WARN] Use of uninitialized value in sprintf at /kohadevbox/koha/C4/Auth.pm line 887.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
  • Loading branch information
joubu committed Jul 16, 2021
1 parent f132fc8 commit af7e41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C4/Auth.pm
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,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;
Expand Down

0 comments on commit af7e41d

Please sign in to comment.