diff options
| -rw-r--r-- | httemplate/search/elements/search-html.html | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/elements/search-html.html b/httemplate/search/elements/search-html.html index d6cc62691..32f26e866 100644 --- a/httemplate/search/elements/search-html.html +++ b/httemplate/search/elements/search-html.html @@ -190,7 +190,7 @@                  <TR>  %                 my $h2 = 0;  %                 my $colspan = 0; -%                 my @fields = @{ $opt{'sort_fields'} || $opt{'fields'}}; +%                 my @fields = @{ $opt{'sort_fields'} || $opt{'fields'} || [] };  %                 my $order_by = $cgi->param('order_by');  %                 foreach my $header ( @{ $opt{header} } ) {   %  | 
