X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=cf_dropdown_option_edit.php;h=1013a54a4c2ccd00f5a9e272da4ce50d6c381095;hb=c360da4bcfd113a87bc156e0f009e968d8a8bf07;hp=78fc279c45c2be21ede8b96141e6d73b76bb3e14;hpb=eb55e2f8ca3859482a389795e03b45283e14ef36;p=timetracker.git diff --git a/cf_dropdown_option_edit.php b/cf_dropdown_option_edit.php index 78fc279c..1013a54a 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 (!ttAccessAllowed('manage_custom_fields') || !$user->isPluginEnabled('cf')) { header('Location: access_denied.php'); exit(); }