]> wagnertech.de Git - timetracker.git/blobdiff - locking.php
A bit more refactoring.
[timetracker.git] / locking.php
index dfdc2f2fcc0c7cd9498fd5e651f0836de1bcfe02..8acdcd70499e41c992bd56c4746b9817c844d41d 100644 (file)
@@ -31,7 +31,7 @@ import('form.Form');
 import('ttTeamHelper');
 
 // Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('lk')) {
   header('Location: access_denied.php');
   exit();
 }