diff options
author | Ivan Kohler <ivan@freeside.biz> | 2021-08-18 11:11:29 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2021-08-18 11:11:29 -0700 |
commit | 1fc8addc56f8daf12397da568eb1ac1b27fd3984 (patch) | |
tree | 5f3456e8ba21dc4457606e6fdfca00e38d65d583 /httemplate/search/log.html | |
parent | 57bb423fe457ba4e13726877f53bcdf944f828f8 (diff) |
quiet warnings about CGI::param in list context
Diffstat (limited to 'httemplate/search/log.html')
-rw-r--r-- | httemplate/search/log.html | 4 |
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); |