projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved ttClientHelper::delete() function.
[timetracker.git]
/
notification_add.php
diff --git
a/notification_add.php
b/notification_add.php
index
6d0e4d3
..
7dd680f
100644
(file)
--- a/
notification_add.php
+++ b/
notification_add.php
@@
-33,11
+33,15
@@
import('form.Form');
import('ttFavReportHelper');
import('ttNotificationHelper');
import('ttFavReportHelper');
import('ttNotificationHelper');
-// Access check.
-if (!ttAccessAllowed('manage_advanced_settings')
|| !$user->isPluginEnabled('no')
) {
+// Access check
s
.
+if (!ttAccessAllowed('manage_advanced_settings')) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}
+if (!$user->isPluginEnabled('no')) {
+ header('Location: feature_disabled.php');
+ exit();
+}
$fav_reports = ttFavReportHelper::getReports($user->id);
$fav_reports = ttFavReportHelper::getReports($user->id);