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