diff options
author | ivan <ivan> | 2011-01-12 06:00:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-01-12 06:00:00 +0000 |
commit | ab52952fa6ea07e3bbda68ec356d018ef5649052 (patch) | |
tree | 01485f3a9aba802426837fe7b53db5c08618d686 /httemplate/search | |
parent | cefb0e24870cf88bbaae81dcfa4aa15a4356e8b5 (diff) |
fix SQL query, RT#11127
Diffstat (limited to 'httemplate/search')
-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} } ) { % |