X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=cf_custom_field_delete.php;h=caf858a292ec595c6b0a25b41e4f1cb59d3d80ac;hb=c138ab042a599beb780895e5a5f54a1b287d67ae;hp=88779bedbc37dba6917efc6344d7ce49080244f1;hpb=5a6a33edf0ec2ac012715e12c35c7285b64c099b;p=timetracker.git diff --git a/cf_custom_field_delete.php b/cf_custom_field_delete.php index 88779bed..caf858a2 100644 --- a/cf_custom_field_delete.php +++ b/cf_custom_field_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(); }