diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-07-26 16:42:54 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-07-26 16:42:54 -0500 |
commit | 14a5274c8b8cd2700d7141c8c15903bac881d46c (patch) | |
tree | a84ae1250010d5947153172327528768dde6f705 /httemplate/edit/log_email.html | |
parent | a1930173f49200333e347b87c01c3edabc1ebb9c (diff) |
RT#38217: Send email when logging conditions are met [removed unwanted log levels, preserved level num mapping]
Diffstat (limited to 'httemplate/edit/log_email.html')
-rw-r--r-- | httemplate/edit/log_email.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/log_email.html b/httemplate/edit/log_email.html index 0c98046d3..b79aba986 100644 --- a/httemplate/edit/log_email.html +++ b/httemplate/edit/log_email.html @@ -16,8 +16,8 @@ }, { 'field' => 'min_level', 'type' => 'select', - 'options' => [ 0..7 ], - 'labels' => { map {$_ => $FS::Log::LEVELS[$_]} 0..7 }, + 'options' => [ &FS::Log::levelnums ], + 'labels' => { &FS::Log::levelmap }, 'curr_value' => scalar($cgi->param('min_level')), }, 'to_addr', |