X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/e7818a74153d8015c1ae994b4115384b593d53a7..e616d14ff2173bd13155592c0bdba23636376ffe:/report.php 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(); }