X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/058d776c118501eb510967c8b870bc346bc39e71..c360da4bcfd113a87bc156e0f009e968d8a8bf07:/cf_custom_field_add.php diff --git a/cf_custom_field_add.php b/cf_custom_field_add.php index 2eba5b56..f8ea01e0 100644 --- a/cf_custom_field_add.php +++ b/cf_custom_field_add.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(); }