X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=cf_custom_fields.php;h=539271c544a6efdc0cad0c090c4488ef359b8292;hb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;hp=44efc79b65f5532b0dcb3d27812e7a31c00e5f6a;hpb=04bc6bdd39d67bcf9f63d8af4b067f1fafc06f8a;p=timetracker.git diff --git a/cf_custom_fields.php b/cf_custom_fields.php index 44efc79b..539271c5 100644 --- a/cf_custom_fields.php +++ b/cf_custom_fields.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(); }