diff options
author | Mark Wells <mark@freeside.biz> | 2016-11-23 15:14:24 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-11-23 15:14:24 -0800 |
commit | 7fe7e453b6eb0778235e0a64e3b654f673d1caa2 (patch) | |
tree | 34419fc0ab74cd7264b85b4ded99f28b9ecb98f2 /httemplate | |
parent | ba7725a58fa6c211df8614f57973f49d71d64b80 (diff) |
3.x fix
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/elements/notify-tickets.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/httemplate/elements/notify-tickets.html b/httemplate/elements/notify-tickets.html index 16a04f4d9..9e9020a41 100644 --- a/httemplate/elements/notify-tickets.html +++ b/httemplate/elements/notify-tickets.html @@ -24,7 +24,12 @@ if ($enabled) { # if there are no tickets the current user could see, always hide it my $AnyTickets = RT::Tickets->new($CurrentUser); foreach my $status (qw(resolved rejected deleted)) { - $AnyTickets->LimitStatus( OPERATOR => '!=', VALUE => $status ); + $AnyTickets->RT::SearchBuilder::Limit( + FIELD => 'Status', + OPERATOR => '!=', + ENTRYAGGREGATOR => 'AND', + VALUE => $status, + ); } $enabled = 0 if $AnyTickets->Count == 0; |