summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-12-22 02:58:34 -0600
committerJonathan Prykop <jonathan@freeside.biz>2015-12-22 03:10:35 -0600
commit4119910e78a72125c1da1df2a4b64c9ea927314a (patch)
treea0a69113717a96d4bf1ff3a65853ce577b909ef3 /httemplate/search
parent7461526f923d4cc9341b5bbebad3bf409b778120 (diff)
RT#38217 Send email when logging conditions are met [added null_right and msgtype]
Diffstat (limited to 'httemplate/search')
-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 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 );