X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=reports.php;h=fe560016eff16df0daa16604fc3a2d33ab900afb;hb=717d0c75c9e3ddb161c3d3d8583e2b5761b1b634;hp=27a722446f1ab3a010f0a13dd11345d08c52e122;hpb=1bb418518633df9bda7d73235759b11e640cc81f;p=timetracker.git diff --git a/reports.php b/reports.php index 27a72244..fe560016 100644 --- a/reports.php +++ b/reports.php @@ -37,7 +37,7 @@ import('ttFavReportHelper'); import('ttClientHelper'); // Access check. -if (!ttAccessCheck(right_view_reports)) { +if (!ttAccessAllowed('view_own_reports')) { header('Location: access_denied.php'); exit(); }