One more fix to header output.
[timetracker.git] / WEB-INF / lib / common.lib.php
index 3dce388..7086fe2 100644 (file)
@@ -341,6 +341,7 @@ function ttAccessAllowed($required_right)
 
   // Check if user has the right.
   if (in_array($required_right, $user->rights)) {
+    import('ttUserHelper');
     ttUserHelper::updateLastAccess();
     return true;
   }