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