X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=cf_custom_field_edit.php;h=b8e0f8ece6e5f6cd82677dd997bd0141d873228e;hb=94a45188ff1dea301c6dec7714310e9198e0cadf;hp=196d85fafcf86a17b7dc487bc2b725f0fc317b23;hpb=eb55e2f8ca3859482a389795e03b45283e14ef36;p=timetracker.git 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(); }