X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=notification_edit.php;h=ec26f610b68f246b93beb3f19bb2b7ff3590357f;hb=73bd55c5aaa9459806ef9fa899cc5a24513727bc;hp=8a2ab05630e417f88e549e9f8ce4d5f9fdef98fa;hpb=bb21bc0fbb60be85b7d1eab90e6dd7c33aec7d0a;p=timetracker.git diff --git a/notification_edit.php b/notification_edit.php index 8a2ab056..ec26f610 100644 --- a/notification_edit.php +++ b/notification_edit.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(); }