From: Mark Wells Date: Wed, 23 Nov 2016 23:14:24 +0000 (-0800) Subject: 3.x fix X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=7fe7e453b6eb0778235e0a64e3b654f673d1caa2 3.x fix --- 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;