projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed users page for revamped roles.
[timetracker.git]
/
cf_custom_fields.php
diff --git
a/cf_custom_fields.php
b/cf_custom_fields.php
index
44efc79
..
539271c
100644
(file)
--- a/
cf_custom_fields.php
+++ b/
cf_custom_fields.php
@@
-31,7
+31,7
@@
require_once('plugins/CustomFields.class.php');
import('form.Form');
// Access check.
-if (!ttAccess
Check(right_manage_team
) || !$user->isPluginEnabled('cf')) {
+if (!ttAccess
Allowed('manage_custom_fields'
) || !$user->isPluginEnabled('cf')) {
header('Location: access_denied.php');
exit();
}