X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a64a8d017c37bec34585e0c345a0c139ac3b43a0..HEAD:/timesheet_delete.php diff --git a/timesheet_delete.php b/timesheet_delete.php index e4bf453c..5e98a6cc 100644 --- a/timesheet_delete.php +++ b/timesheet_delete.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTimesheetHelper'); // Access checks. -if (!(ttAccessAllowed('manage_own_timesheets') || ttAccessAllowed('manage_timesheets'))) { +if (!(ttAccessAllowed('track_own_time') || ttAccessAllowed('track_time'))) { header('Location: access_denied.php'); exit(); }