[BUGFIX] Use current time for new sys_log entries 07/38307/2
authorFrans Saris <franssaris@gmail.com>
Thu, 26 Mar 2015 19:29:33 +0000 (20:29 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Fri, 27 Mar 2015 15:26:44 +0000 (16:26 +0100)
Resolves: #66068
Releases: master, 6.2
Change-Id: I0c2cf2599144ecb16b0066a51c2786d613f21c9a
Reviewed-on: http://review.typo3.org/38307
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php

index c78c74e..990b7a6 100644 (file)
@@ -2232,8 +2232,8 @@ class BackendUserAuthentication extends \TYPO3\CMS\Core\Authentication\AbstractU
                        'log_data' => serialize($data),
                        'tablename' => $tablename,
                        'recuid' => (int)$recuid,
-                       'IP' => (string) GeneralUtility::getIndpEnv('REMOTE_ADDR'),
-                       'tstamp' => $GLOBALS['EXEC_TIME'],
+                       'IP' => (string)GeneralUtility::getIndpEnv('REMOTE_ADDR'),
+                       'tstamp' => time(),
                        'event_pid' => (int)$event_pid,
                        'NEWid' => $NEWid,
                        'workspace' => $this->workspace