X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/718f61be021c6afa8ddd836e6f5cd9d76faf8530..e4c40a490a8c9477cab1d41b786aa7aaa5e930d6:/cf_dropdown_option_delete.php diff --git a/cf_dropdown_option_delete.php b/cf_dropdown_option_delete.php index ec06b49f..f4e44207 100644 --- a/cf_dropdown_option_delete.php +++ b/cf_dropdown_option_delete.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(); }