summaryrefslogtreecommitdiff
path: root/httemplate/search/elements/search-html.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/elements/search-html.html')
-rw-r--r--httemplate/search/elements/search-html.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/elements/search-html.html b/httemplate/search/elements/search-html.html
index c0bb721f7..71e61de61 100644
--- a/httemplate/search/elements/search-html.html
+++ b/httemplate/search/elements/search-html.html
@@ -394,11 +394,12 @@
% }
-% if ( $opt{'footer'} ) {
+% if ( $opt{'footer'} ) {
<TR>
% foreach my $footer ( @{ $opt{'footer'} } ) {
+% $footer = &{$footer}() if ref($footer) eq 'CODE';
<TD CLASS="grid" BGCOLOR="#dddddd" STYLE="border-top: dashed 1px black;"><i><% $footer %></i></TD>
% }