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