X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=report.php;h=c4bfd0683482fd0e28b4d5c8d3c56d5a99dba6a6;hb=a83b2420a2de428f82c8cc64343bd1fdb8ff4a5e;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(); }