X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=timesheet_delete.php;h=5e98a6cc97508244a9dea73f4a5e8db26b10fc02;hb=253b4bd9eea2c01fe72bd45dd12ad8568177672c;hp=e4bf453c504b896be87a35c46d67f5c95d045b82;hpb=a64a8d017c37bec34585e0c345a0c139ac3b43a0;p=timetracker.git 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(); }