X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/718f61be021c6afa8ddd836e6f5cd9d76faf8530..e4c40a490a8c9477cab1d41b786aa7aaa5e930d6:/cf_dropdown_option_add.php diff --git a/cf_dropdown_option_add.php b/cf_dropdown_option_add.php index ecf4892d..f87003d1 100644 --- 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. -if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('cf')) { +if (!ttAccessAllowed('manage_custom_fields') || !$user->isPluginEnabled('cf')) { header('Location: access_denied.php'); exit(); }