projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
posaune
[timetracker.git]
/
timesheet_delete.php
diff --git
a/timesheet_delete.php
b/timesheet_delete.php
index
e4bf453
..
5e98a6c
100644
(file)
--- a/
timesheet_delete.php
+++ b/
timesheet_delete.php
@@
-31,7
+31,7
@@
import('form.Form');
import('ttTimesheetHelper');
// Access checks.
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();
}
header('Location: access_denied.php');
exit();
}