X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=cf_dropdown_option_add.php;h=f87003d154918c8d184c09178880182567cca683;hb=ecf7d911c95935f8cfb2403f645cd12f93d8c3f5;hp=ecf4892d61c0188f2948f70f85df097b147365d0;hpb=5a6a33edf0ec2ac012715e12c35c7285b64c099b;p=timetracker.git 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(); }