summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-07-26 16:42:54 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-08-29 20:10:33 -0500
commit21385930c7ca62c993c0f55993a286d4edfa34c1 (patch)
tree9ed7abb5e8da4f5d1710a0552fc5b256c681a2f3 /httemplate/edit
parentf1d59659244a34b2ee9c6380babff464639e2927 (diff)
RT#38217: Send email when logging conditions are met [removed unwanted log levels, preserved level num mapping, v4]
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/log_email.html4
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',