X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=report.php;h=c4bfd0683482fd0e28b4d5c8d3c56d5a99dba6a6;hb=496cfee4721ea6f3dca65ec57a2845ef059c5b1d;hp=bc2a0d1661aa9b55bb9a75bd02aec0b1fa2d78bf;hpb=e7818a74153d8015c1ae994b4115384b593d53a7;p=timetracker.git diff --git a/report.php b/report.php index bc2a0d16..c4bfd068 100644 --- a/report.php +++ b/report.php @@ -33,7 +33,7 @@ import('ttReportHelper'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_view_reports)) { +if (!ttAccessAllowed('view_own_reports')) { header('Location: access_denied.php'); exit(); }