summaryrefslogtreecommitdiff
path: root/httemplate/edit/log_email.html
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-07-26 16:42:54 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-07-26 16:42:54 -0500
commit14a5274c8b8cd2700d7141c8c15903bac881d46c (patch)
treea84ae1250010d5947153172327528768dde6f705 /httemplate/edit/log_email.html
parenta1930173f49200333e347b87c01c3edabc1ebb9c (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.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',