X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/3222579993343da856339c1474d9d4b9a752167e..c360da4bcfd113a87bc156e0f009e968d8a8bf07:/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(); }