From d102d05f9b43d77870d5a0ebdb93bf743f479e8d Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Tue, 22 Dec 2015 02:58:34 -0600 Subject: RT#38217 Send email when logging conditions are met [added null_right and msgtype] --- httemplate/search/cust_msg.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'httemplate') diff --git a/httemplate/search/cust_msg.html b/httemplate/search/cust_msg.html index e9aece202..2bfbd7cb0 100644 --- a/httemplate/search/cust_msg.html +++ b/httemplate/search/cust_msg.html @@ -59,8 +59,10 @@ my $conf = new FS::Conf; my $title = 'Outgoing Message Log'; #here is the agent virtualization -my $agentnums_sql = - $FS::CurrentUser::CurrentUser->agentnums_sql( 'table' => 'cust_main' ); +my $agentnums_sql = $FS::CurrentUser::CurrentUser->agentnums_sql( + 'table' => 'cust_main', + 'null_right' => [ 'View system logs', 'Configuration' ], +); my @where = ( $agentnums_sql ); -- cgit v1.2.1