projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 34134 - Fixed error with amount not being sent when field disabled.
[freeside.git]
/
httemplate
/
elements
/
notify-tickets.html
diff --git
a/httemplate/elements/notify-tickets.html
b/httemplate/elements/notify-tickets.html
index
35917c3
..
b2541f0
100644
(file)
--- 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';
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';
my $UnrepliedTickets;
if ($enabled) {
my $class = 'RT::Search::UnrepliedTickets';