X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fnotify-tickets.html;h=b2541f0e71713f8f98444cc4fd446b4c4c0c2e47;hb=a8d62307b05d924d3304fd7cf18177e2fc1c91f7;hp=ce367deeb4ed975f65250b98b971ebe04c030a0e;hpb=5665dc8243598e7ca6567719b6e91efcfbbea209;p=freeside.git 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';