X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fnotify-tickets.html;h=b2541f0e71713f8f98444cc4fd446b4c4c0c2e47;hb=a8d62307b05d924d3304fd7cf18177e2fc1c91f7;hp=35917c34d9d0fcd6c1106984504969b019e5e751;hpb=681a340f6be4184b1472a8e1fa9cd5d074f6f325;p=freeside.git diff --git a/httemplate/elements/notify-tickets.html b/httemplate/elements/notify-tickets.html index 35917c34d..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->option('hide_notify_tickets'); +$enabled = 0 unless $FS::CurrentUser::CurrentUser->access_right('RT activity notification'); my $UnrepliedTickets; if ($enabled) { my $class = 'RT::Search::UnrepliedTickets';