X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/09bd3c14ba08e57c46fb53c66e9053d248682c06..5fdf8659516ad2b07458deba8eda234e8e07c554:/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(); }