X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fcommon.lib.php;h=7086fe298243667a99991461e8236739ae136ddb;hb=5f64df1308fd641565631e6e38d282432f5e6250;hp=69c38b731e63a867d6530c7d99faf96f1bd5f1e8;hpb=b401022733a9645ed701522585b2d57db936f5cc;p=timetracker.git diff --git a/WEB-INF/lib/common.lib.php b/WEB-INF/lib/common.lib.php index 69c38b73..7086fe29 100644 --- a/WEB-INF/lib/common.lib.php +++ b/WEB-INF/lib/common.lib.php @@ -340,8 +340,11 @@ function ttAccessAllowed($required_right) } // Check if user has the right. - if (in_array($required_right, $user->rights)) + if (in_array($required_right, $user->rights)) { + import('ttUserHelper'); + ttUserHelper::updateLastAccess(); return true; + } return false; }