X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/55fb421c8c80c95f5a3b41b128161b9dd17df32a..21682f141034f82653bc41b56eaabdf490d5a9dc:/tofile.php diff --git a/tofile.php b/tofile.php index 6849b7f1..1b367e25 100644 --- a/tofile.php +++ b/tofile.php @@ -32,7 +32,7 @@ import('form.ActionForm'); import('ttReportHelper'); // Access check. -if (!ttAccessCheck(right_view_reports)) { +if (!ttAccessAllowed('view_own_reports')) { header('Location: access_denied.php'); exit(); }