]> wagnertech.de Git - timetracker.git/blobdiff - cf_dropdown_option_add.php
Fixed team update when team name is empty.
[timetracker.git] / cf_dropdown_option_add.php
index 20da6eefc0457c1955fc89dac47869e7fe4ed522..ecf4892d61c0188f2948f70f85df097b147365d0 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();
 }