X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=notification_add.php;h=05b6ce0c3ccc7e517891aa916eee2c2bc7bc4d10;hb=6deafabef6031f12fe9fec94d9262ba460f7875b;hp=80bd33ea68575cf75a2b9a08278538f2e8ab34d8;hpb=9e82b53fc5d8cb1e54b5fde774fa68a916f28b4c;p=timetracker.git diff --git a/notification_add.php b/notification_add.php index 80bd33ea..05b6ce0c 100644 --- a/notification_add.php +++ b/notification_add.php @@ -34,7 +34,7 @@ import('ttFavReportHelper'); import('ttNotificationHelper'); // Access check. -if (!ttAccessCheck(right_manage_team)) { +if (!ttAccessCheck(right_manage_team) || !$user->isPluginEnabled('no')) { header('Location: access_denied.php'); exit(); } @@ -84,7 +84,7 @@ if ($request->isPost()) { } else $err->add($i18n->getKey('error.db')); } -} // POST +} // isPost $smarty->assign('forms', array($form->getName()=>$form->toArray())); $smarty->assign('title', $i18n->getKey('title.add_notification'));