X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=cf_custom_fields.php;h=18de06059345d330fcefe564e145d510fcc7aa7d;hb=660a3e8ca761113f8e1b739dba11eddf7f581cbd;hp=33c8b5e7ff66338131683505760dacb48ce67236;hpb=a7ba11adfecf6cb906749efe5abce688363aef07;p=timetracker.git diff --git a/cf_custom_fields.php b/cf_custom_fields.php index 33c8b5e7..18de0605 100644 --- a/cf_custom_fields.php +++ b/cf_custom_fields.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(); }