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