X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fnotify-tickets.html;h=aebbef669da05fe84997f903125fe87bbd1ca16f;hb=0868e3d3883695b4acf8fbb0c61a08f2249af389;hp=37a4e845619209301530176a3a4fd89721589ebe;hpb=f545571ead3feee00e99e0947a2346c5369c9836;p=freeside.git diff --git a/httemplate/elements/notify-tickets.html b/httemplate/elements/notify-tickets.html index 37a4e8456..aebbef669 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 if $FS::CurrentUser::CurrentUser->access_right('not an RT'); my $UnrepliedTickets; if ($enabled) { my $class = 'RT::Search::UnrepliedTickets';