projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed team export by assigning role id 0 to top managers.
[timetracker.git]
/
cf_custom_field_delete.php
diff --git
a/cf_custom_field_delete.php
b/cf_custom_field_delete.php
index
88779be
..
caf858a
100644
(file)
--- a/
cf_custom_field_delete.php
+++ b/
cf_custom_field_delete.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();
}