projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update .gitignore and add .editorconfig (#21)
[timetracker.git]
/
notification_delete.php
diff --git
a/notification_delete.php
b/notification_delete.php
index
a8a2e49
..
834befb
100644
(file)
--- a/
notification_delete.php
+++ b/
notification_delete.php
@@
-31,7
+31,7
@@
import('form.Form');
import('ttNotificationHelper');
// Access check.
import('ttNotificationHelper');
// Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team)
|| !$user->isPluginEnabled('no')
) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}
@@
-55,7
+55,7
@@
if ($request->isPost()) {
$err->add($i18n->getKey('error.db'));
} else
$err->add($i18n->getKey('error.db'));
$err->add($i18n->getKey('error.db'));
} else
$err->add($i18n->getKey('error.db'));
- } else
if ($request->getParameter('btn_cancel')) {
+ } elseif ($request->getParameter('btn_cancel')) {
header('Location: notifications.php');
exit();
}
header('Location: notifications.php');
exit();
}