X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=notification_edit.php;h=cd3f41bd1841f4f9c33f5417ad5698bf934e1927;hb=cd5e077ecb497431decde4835138b877d63b261c;hp=f1452080611fe583f2e52a408402d5b286a49502;hpb=9e82b53fc5d8cb1e54b5fde774fa68a916f28b4c;p=timetracker.git diff --git a/notification_edit.php b/notification_edit.php index f1452080..cd3f41bd 100644 --- a/notification_edit.php +++ b/notification_edit.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(); } @@ -89,7 +89,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'));