X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=week.php;h=6bd2d492c7fc1a9ec4fc90f878d60971fa2b47b3;hb=c138ab042a599beb780895e5a5f54a1b287d67ae;hp=be89944c99ba3dbdc3a4c6558beabbfdd3a04059;hpb=b401022733a9645ed701522585b2d57db936f5cc;p=timetracker.git diff --git a/week.php b/week.php index be89944c..6bd2d492 100644 --- a/week.php +++ b/week.php @@ -39,7 +39,7 @@ import('ttTimeHelper'); import('DateAndTime'); // Access check. -if (!ttAccessAllowed('data_entry') || !$user->isPluginEnabled('wv')) { +if (!ttAccessAllowed('track_own_time') || !$user->isPluginEnabled('wv')) { header('Location: access_denied.php'); exit(); }