X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=tofile.php;h=abd1f278bd855ea0ed87479f690c53fb17da2cd4;hb=2ff04a2baeaa449ab30b822e2bb52ff792776753;hp=67c5b31ceb08214d4ace1fa5e402b4605e9d482d;hpb=fd0872d9e582113346fa1e93557f370286c5c9f2;p=timetracker.git diff --git a/tofile.php b/tofile.php index 67c5b31c..abd1f278 100644 --- a/tofile.php +++ b/tofile.php @@ -32,7 +32,7 @@ import('form.ActionForm'); import('ttReportHelper'); // Access check. -if (!ttAccessAllowed('view_own_reports')) { +if (!(ttAccessAllowed('view_own_reports') || ttAccessAllowed('view_reports'))) { header('Location: access_denied.php'); exit(); }