From ab52952fa6ea07e3bbda68ec356d018ef5649052 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 12 Jan 2011 06:00:00 +0000 Subject: fix SQL query, RT#11127 --- httemplate/search/elements/search-html.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/search') 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 @@ % 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} } ) { % -- cgit v1.2.1