X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=time.php;h=1c29aa8f6b59e755ac9de62182c0ae0b3bc4f100;hb=a8a4278a6a87c600835890a10c774dfdc58e930a;hp=270a8aaef0c23efed927ae1520a2f7621418c4f3;hpb=fd0872d9e582113346fa1e93557f370286c5c9f2;p=timetracker.git diff --git a/time.php b/time.php index 270a8aae..1c29aa8f 100644 --- a/time.php +++ b/time.php @@ -42,7 +42,7 @@ import('DateAndTime'); // } // Access check. -if (!ttAccessAllowed('track_own_time')) { +if (!(ttAccessAllowed('track_own_time') || ttAccessAllowed('track_time'))) { header('Location: access_denied.php'); exit(); }