X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=charts.php;h=3ef76e528bda3ff4fcba5a39fc79b6ef0a74ba01;hb=60d2288b7fca6caf0f5d9d3eee972f040eb24fb0;hp=9dec840aed24effabaa760455d674fc505426b17;hpb=0dfc4dda20c54e173938eaf196f8e071ce790830;p=timetracker.git 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(); }