]> wagnertech.de Git - timetracker.git/blobdiff - cf_custom_field_edit.php
Introduced time_script.tpl for shared script used in time.tpl and time_edit.tpl ...
[timetracker.git] / cf_custom_field_edit.php
index 196d85fafcf86a17b7dc487bc2b725f0fc317b23..b8e0f8ece6e5f6cd82677dd997bd0141d873228e 100644 (file)
@@ -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();
 }