X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/eb55e2f8ca3859482a389795e03b45283e14ef36..aa9a80e15526b4b70cdf8360e35a0d44de43cf66:/cf_custom_field_edit.php diff --git a/cf_custom_field_edit.php b/cf_custom_field_edit.php index 196d85fa..b8e0f8ec 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)) { +if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('cf')) { header('Location: access_denied.php'); exit(); }