X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=cf_custom_field_delete.php;h=88779bedbc37dba6917efc6344d7ce49080244f1;hb=cb8e3de960b758147b34d8323054e7de70548619;hp=86fa7d87100be6f8cec838418bca37d4d16aca50;hpb=9e82b53fc5d8cb1e54b5fde774fa68a916f28b4c;p=timetracker.git diff --git a/cf_custom_field_delete.php b/cf_custom_field_delete.php index 86fa7d87..88779bed 100644 --- a/cf_custom_field_delete.php +++ b/cf_custom_field_delete.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(); }