X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=cf_dropdown_option_edit.php;h=ba486ae98413f7b698cc8ba7b9939d0b4c80e985;hb=ad98b13400fdc2fa2299a22c9bd54c4cd27960c3;hp=78fc279c45c2be21ede8b96141e6d73b76bb3e14;hpb=eb55e2f8ca3859482a389795e03b45283e14ef36;p=timetracker.git diff --git a/cf_dropdown_option_edit.php b/cf_dropdown_option_edit.php index 78fc279c..ba486ae9 100644 --- a/cf_dropdown_option_edit.php +++ b/cf_dropdown_option_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(); }