X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/3ad790a3d4bc23cb23f7ee072171ca6ef987eb56..62dc3d09ec2703764869f5e76e5bc82b351938a2:/notifications.php diff --git a/notifications.php b/notifications.php index 68cdfff8..4205dffa 100644 --- a/notifications.php +++ b/notifications.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('no')) { +if (!ttAccessAllowed('manage_advanced_settings') || !$user->isPluginEnabled('no')) { header('Location: access_denied.php'); exit(); }