X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/4dcb88a76a3de466ee6116ae0852f53ba2b259a5..030d2c3ffbf8229cc945427e9e9f7704226effe1:/report_send.php diff --git a/report_send.php b/report_send.php index b420b3ac..d7c031fd 100644 --- a/report_send.php +++ b/report_send.php @@ -33,7 +33,7 @@ import('ttSysConfig'); import('ttReportHelper'); // Access check. -if (!ttAccessAllowed('view_own_reports')) { +if (!(ttAccessAllowed('view_own_reports') || ttAccessAllowed('view_reports'))) { header('Location: access_denied.php'); exit(); }