summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-12-22 02:58:34 -0600
committerMitch Jackson <mitch@freeside.biz>2018-10-09 12:22:13 -0400
commitec1cb553b60314cadce24d5360de61e43c42e344 (patch)
tree476308ba6157f437ce8dde02aa1a9e09a535bc13 /httemplate
parent6d42808bbd3ac9c840c6259aef1dc79a0dc620ff (diff)
RT#38217 Send email when logging conditions are met [added null_right and msgtype]
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/search/cust_msg.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/search/cust_msg.html b/httemplate/search/cust_msg.html
index fdb72a503..ef96f1310 100644
--- a/httemplate/search/cust_msg.html
+++ b/httemplate/search/cust_msg.html
@@ -62,8 +62,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 );