From 1bd67e28e563c00d270686f89ceecdeb93230f36 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 17 Nov 2010 12:18:00 +0000 Subject: [PATCH] Bug 5066 (Log timestamp consistently in _session_log) Small fix with thanks to Galen. Signed-off-by: Chris Cormack --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index c7477b194e..7404f96858 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -717,7 +717,7 @@ sub checkauth { ( $return, $cardnumber ) = checkpw( $dbh, $userid, $password, $query ); } if ($return) { - _session_log(sprintf "%20s from %16s logged in at %30s.\n", $userid,$ENV{'REMOTE_ADDR'},localtime); + _session_log(sprintf "%20s from %16s logged in at %30s.\n", $userid,$ENV{'REMOTE_ADDR'},(strftime '%c', localtime)); if ( $flags = haspermission( $userid, $flagsrequired ) ) { $loggedin = 1; } -- 2.39.5