X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=time_edit.php;h=c14928f56c8362b96d1788c129493102fa5d9426;hb=31c09561b78ef5a9e40f8ff5b18e068f6ff881bc;hp=dd3edde136cb00e5105f8a1cc88af577f653641b;hpb=fd0872d9e582113346fa1e93557f370286c5c9f2;p=timetracker.git diff --git a/time_edit.php b/time_edit.php index dd3edde1..c14928f5 100644 --- a/time_edit.php +++ b/time_edit.php @@ -35,7 +35,7 @@ import('ttTimeHelper'); import('DateAndTime'); // Access check. -if (!ttAccessAllowed('track_own_time')) { +if (!(ttAccessAllowed('track_own_time') || ttAccessAllowed('track_time'))) { header('Location: access_denied.php'); exit(); }