X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=notification_delete.php;h=0b6cf5ccc4862efa63235ad70875bad3849f31e3;hb=5f64df1308fd641565631e6e38d282432f5e6250;hp=834befbe3439eeb4b0dfcc1847a5e9403faba164;hpb=3ad790a3d4bc23cb23f7ee072171ca6ef987eb56;p=timetracker.git 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(); }