From 1004a71d00dda655bc167d037a7cdcc88f15a6ef Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 6 Feb 2024 12:31:28 +0000 Subject: [PATCH] Bug 36000: Fix CGI::param warning in catalogue search Content-Type: text/plain; charset=utf-8 Speaks for itself. Signed-off-by: Marcel de Rooy --- catalogue/search.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalogue/search.pl b/catalogue/search.pl index e3da85daee..6228389717 100755 --- a/catalogue/search.pl +++ b/catalogue/search.pl @@ -273,7 +273,7 @@ if ( $template_type eq 'advsearch' ) { @operators = $cgi->multi_param('op'); @indexes = $cgi->multi_param('idx'); $template->param( - sort => $cgi->param('sort_by'), + sort => scalar $cgi->param('sort_by'), ); # determine what to display next to the search boxes } elsif ( $cgi->param('edit_filter') ){ -- 2.30.2