X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=cf_dropdown_options.php;h=3ee5294ebd4a8370cedd2ce295700fdd0a065bbb;hb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;hp=a7718fbe9ec8215fb5188ddf8c24b841c155dd68;hpb=9e82b53fc5d8cb1e54b5fde774fa68a916f28b4c;p=timetracker.git diff --git a/cf_dropdown_options.php b/cf_dropdown_options.php index a7718fbe..3ee5294e 100644 --- a/cf_dropdown_options.php +++ b/cf_dropdown_options.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(); }