projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactored admin_team_edit.php to use ttAdmin class.
[timetracker.git]
/
expense_edit.php
diff --git
a/expense_edit.php
b/expense_edit.php
index
3fd2359
..
dbd14d9
100644
(file)
--- a/
expense_edit.php
+++ b/
expense_edit.php
@@
-33,7
+33,7
@@
import('DateAndTime');
import('ttExpenseHelper');
// Access check.
-if (!ttAccessAllowed('
data_entry
') || !$user->isPluginEnabled('ex')) {
+if (!ttAccessAllowed('
track_own_expenses
') || !$user->isPluginEnabled('ex')) {
header('Location: access_denied.php');
exit();
}