X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=cf_dropdown_options.php;h=3ee5294ebd4a8370cedd2ce295700fdd0a065bbb;hb=9d2d670570a584098a4e19c22d052412cdf18633;hp=544eefdbeeb3bcb052716c229c1c8520785f14f1;hpb=5a6a33edf0ec2ac012715e12c35c7285b64c099b;p=timetracker.git diff --git a/cf_dropdown_options.php b/cf_dropdown_options.php index 544eefdb..3ee5294e 100644 --- a/cf_dropdown_options.php +++ b/cf_dropdown_options.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(); }