diff options
author | ivan <ivan> | 2011-01-12 05:59:59 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-01-12 05:59:59 +0000 |
commit | f09bfd28e16b27d8d62c81abebb8062223ce0114 (patch) | |
tree | 3a87f30ab2f815dc21bf786f7b6de5a324df42c7 /httemplate/search/elements/search-html.html | |
parent | 58cf1f1d5ac2083beafb7efa220293ae8140adcc (diff) |
fix SQL query, RT#11127
Diffstat (limited to 'httemplate/search/elements/search-html.html')
-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} } ) { % |