X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=notification_delete.php;h=834befbe3439eeb4b0dfcc1847a5e9403faba164;hb=72b46840f490f84fc95fcd2c5288fb33e168d44e;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(); }