X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=topdf.php;h=3177d155973b8e67c6c7845858e97c3948a3fb96;hb=e02d7592b0556895e35f4d028939197c132f6b09;hp=b8f6684c475b447b4ae50e16e8a54af33178cb07;hpb=fd0872d9e582113346fa1e93557f370286c5c9f2;p=timetracker.git diff --git a/topdf.php b/topdf.php index b8f6684c..3177d155 100644 --- a/topdf.php +++ b/topdf.php @@ -36,7 +36,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(); }