X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=cf_custom_field_add.php;h=1d293d37733af8d3f5b76d2b630838a32eafb823;hb=dd8defde4b1f44f56cf9ef3c3b6b435a70faaae9;hp=965c2aba165fdea4816a27875d194dff73bf22bd;hpb=eb55e2f8ca3859482a389795e03b45283e14ef36;p=timetracker.git 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(); }