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