X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=charts.php;h=9df70d55e96ae057fb7bd11d0ede32741720bf5a;hb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;hp=c76eddfa549b296d4b1807ed6886cd72908805c5;hpb=9a9200cf19fc4de98b09834e7d598b1b4c6f44b3;p=timetracker.git 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(); }