X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=cf_dropdown_option_edit.php;h=1013a54a4c2ccd00f5a9e272da4ce50d6c381095;hb=496cfee4721ea6f3dca65ec57a2845ef059c5b1d;hp=ba486ae98413f7b698cc8ba7b9939d0b4c80e985;hpb=5a6a33edf0ec2ac012715e12c35c7285b64c099b;p=timetracker.git diff --git a/cf_dropdown_option_edit.php b/cf_dropdown_option_edit.php index ba486ae9..1013a54a 100644 --- a/cf_dropdown_option_edit.php +++ b/cf_dropdown_option_edit.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(); }