X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=notification_add.php;h=3cac65217adb0e9d57a9855db765edb7cec3e471;hb=7916f561fed6b50348f144fc411ca82ee9bd5ebb;hp=9f5bf361c72fb6c4767efe4d3c46fda8ecca172e;hpb=bb21bc0fbb60be85b7d1eab90e6dd7c33aec7d0a;p=timetracker.git diff --git a/notification_add.php b/notification_add.php index 9f5bf361..3cac6521 100644 --- a/notification_add.php +++ b/notification_add.php @@ -34,7 +34,7 @@ import('ttFavReportHelper'); 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(); }