X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=tofile.php;h=1b367e253936e1f9fa249f50142dadcaf93e9077;hb=e96a91f4cdd1bd25ffab2afdc7d90102b30a37ba;hp=6849b7f153307fcd070ad5ad42d1cd021fb5b3dc;hpb=55fb421c8c80c95f5a3b41b128161b9dd17df32a;p=timetracker.git 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(); }