X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a8a4278a6a87c600835890a10c774dfdc58e930a..dfc50841cd4b60eb8f2172044d6dd08785fe3df4:/tofile.php diff --git a/tofile.php b/tofile.php index abd1f278..e7b9ed96 100644 --- a/tofile.php +++ b/tofile.php @@ -31,11 +31,12 @@ import('form.Form'); import('form.ActionForm'); import('ttReportHelper'); -// Access check. +// Access checks. if (!(ttAccessAllowed('view_own_reports') || ttAccessAllowed('view_reports'))) { header('Location: access_denied.php'); exit(); } +// End of access checks. // Use custom fields plugin if it is enabled. if ($user->isPluginEnabled('cf')) {