projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added code to update legacy managers to top managers.
[timetracker.git]
/
cf_dropdown_option_add.php
diff --git
a/cf_dropdown_option_add.php
b/cf_dropdown_option_add.php
index
ecf4892
..
f87003d
100644
(file)
--- a/
cf_dropdown_option_add.php
+++ b/
cf_dropdown_option_add.php
@@
-31,7
+31,7
@@
require_once('plugins/CustomFields.class.php');
import('form.Form');
// Access check.
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();
}
header('Location: access_denied.php');
exit();
}