]> wagnertech.de Git - timetracker.git/blobdiff - clients.php
Refactored admin_options.php to use ttAdmin instance.
[timetracker.git] / clients.php
index 0a027b8bd1a5ad613d7bf498ddaefd9dfe0a89a6..f02d4b951c7fa558d2e714647b7e69eb17adbb52 100644 (file)
@@ -31,7 +31,7 @@ import('form.Form');
 import('ttTeamHelper');
 
 // Access check.
-if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('cl')) {
+if (!ttAccessAllowed('manage_clients') || !$user->isPluginEnabled('cl')) {
   header('Location: access_denied.php');
   exit();
 }