X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=notification_delete.php;h=834befbe3439eeb4b0dfcc1847a5e9403faba164;hb=b0e8ffd3af439b5dc6dd5044a46a906d9833932b;hp=50c33952c0938a6fbf6317bfe2034b5fc2a6bf0c;hpb=70272dc970919c348288bd09ff835f05e7538949;p=timetracker.git diff --git a/notification_delete.php b/notification_delete.php index 50c33952..834befbe 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)) { +if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('no')) { header('Location: access_denied.php'); exit(); }