X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=cf_custom_field_edit.php;h=295e4079092e6c7d9fc9aaebae61fb342cc44f66;hb=6c7a98f61e74aeae700b523729abb49ff19d3704;hp=8b481a67821e47155c7609c116c6c75de9f48fea;hpb=058d776c118501eb510967c8b870bc346bc39e71;p=timetracker.git diff --git a/cf_custom_field_edit.php b/cf_custom_field_edit.php index 8b481a67..295e4079 100644 --- a/cf_custom_field_edit.php +++ b/cf_custom_field_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(); }