summaryrefslogtreecommitdiff
path: root/httemplate/elements/notify-tickets.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/notify-tickets.html')
-rw-r--r--httemplate/elements/notify-tickets.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/notify-tickets.html b/httemplate/elements/notify-tickets.html
index ce367deeb..b2541f0e7 100644
--- a/httemplate/elements/notify-tickets.html
+++ b/httemplate/elements/notify-tickets.html
@@ -14,7 +14,7 @@
use Class::Load 'load_class';
my $enabled = $FS::TicketSystem::system eq 'RT_Internal';
-$enabled = 0 if $FS::CurrentUser::CurrentUser->access_right('not an RT');
+$enabled = 0 unless $FS::CurrentUser::CurrentUser->access_right('RT activity notification');
my $UnrepliedTickets;
if ($enabled) {
my $class = 'RT::Search::UnrepliedTickets';