X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=charts.php;h=9df70d55e96ae057fb7bd11d0ede32741720bf5a;hb=ae00c14ac2999773e17a761542932cb95420430a;hp=df38cce677c3cf6028bd425a3b67375543f08525;hpb=3222579993343da856339c1474d9d4b9a752167e;p=timetracker.git diff --git a/charts.php b/charts.php index df38cce6..9df70d55 100644 --- a/charts.php +++ b/charts.php @@ -38,7 +38,7 @@ import('ttUserHelper'); import('ttTeamHelper'); // Access check. -if (!ttAccessAllowed('view_own_data') || !$user->isPluginEnabled('ch')) { +if (!ttAccessAllowed('view_own_charts') || !$user->isPluginEnabled('ch')) { header('Location: access_denied.php'); exit(); }