X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/9494c6e4f474c5687d388b32c167f31cbe0aeb62..ecf7d911c95935f8cfb2403f645cd12f93d8c3f5:/WEB-INF/lib/common.lib.php diff --git a/WEB-INF/lib/common.lib.php b/WEB-INF/lib/common.lib.php index 69c38b73..3dce388f 100644 --- a/WEB-INF/lib/common.lib.php +++ b/WEB-INF/lib/common.lib.php @@ -340,8 +340,10 @@ function ttAccessAllowed($required_right) } // Check if user has the right. - if (in_array($required_right, $user->rights)) + if (in_array($required_right, $user->rights)) { + ttUserHelper::updateLastAccess(); return true; + } return false; }