]> wagnertech.de Git - timetracker.git/blobdiff - cf_custom_field_delete.php
Work in progress added more checks for access control.
[timetracker.git] / cf_custom_field_delete.php
index 86fa7d87100be6f8cec838418bca37d4d16aca50..88779bedbc37dba6917efc6344d7ce49080244f1 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();
 }