X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/3ad790a3d4bc23cb23f7ee072171ca6ef987eb56..6b1d36d49ecb821678978322df9754ce23bb0359:/notification_delete.php diff --git a/notification_delete.php b/notification_delete.php index 834befbe..0b6cf5cc 100644 --- a/notification_delete.php +++ b/notification_delete.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttNotificationHelper'); // Access check. -if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('no')) { +if (!ttAccessAllowed('manage_advanced_settings') || !$user->isPluginEnabled('no')) { header('Location: access_denied.php'); exit(); }