X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/3222579993343da856339c1474d9d4b9a752167e..926ea063e48ed8a45dcd308b87f92abe2bfed716:/charts.php diff --git a/charts.php b/charts.php index df38cce6..9df70d55 100644 --- a/charts.php +++ b/charts.php @@ -38,7 +38,7 @@ import('ttUserHelper'); import('ttTeamHelper'); // Access check. -if (!ttAccessAllowed('view_own_data') || !$user->isPluginEnabled('ch')) { +if (!ttAccessAllowed('view_own_charts') || !$user->isPluginEnabled('ch')) { header('Location: access_denied.php'); exit(); }