X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/eb55e2f8ca3859482a389795e03b45283e14ef36..30470a2fe679c83c29259328c5ad60a32ce69d3d:/cf_custom_field_add.php diff --git a/cf_custom_field_add.php b/cf_custom_field_add.php index 965c2aba..1d293d37 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)) { +if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('cf')) { header('Location: access_denied.php'); exit(); }