summaryrefslogtreecommitdiff
path: root/httemplate/search/log.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2021-08-18 11:11:32 -0700
committerIvan Kohler <ivan@freeside.biz>2021-08-18 11:11:32 -0700
commit3787b82344ddd6447dc9074e95d7e18bf7148ccf (patch)
tree22f459b8e4766ff99f02205fb7fc0dea3232e818 /httemplate/search/log.html
parentd6e22939c76c15fe97a298ff2a57b1154d89438f (diff)
quiet warnings about CGI::param in list context
Diffstat (limited to 'httemplate/search/log.html')
-rw-r--r--httemplate/search/log.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/search/log.html b/httemplate/search/log.html
index 9be0b7d0a..96a6f5b64 100644
--- a/httemplate/search/log.html
+++ b/httemplate/search/log.html
@@ -216,7 +216,9 @@ $cgi->param('max_level', 5) unless defined($cgi->param('max_level'));
my %search = ();
$search{'date'} = [ FS::UI::Web::parse_beginning_ending($cgi) ];
-$search{'level'} = [ $cgi->param('min_level'), $cgi->param('max_level') ];
+$search{'level'} = [ scalar($cgi->param('min_level')),
+ scalar($cgi->param('max_level'))
+ ];
foreach my $param (qw(agentnum context context_height tablename tablenum custnum message)) {
if ( $cgi->param($param) ) {
$search{$param} = $cgi->param($param);