Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
Using a
header="<h2>Results:</h2>"
may become a
<j2>Result:</h2>
.
This probably also fixes an issue where an empty string as a header is not accepted.
--- lib/Foswiki/Search.pm (revision 5091)
+++ lib/Foswiki/Search.pm (working copy)
@@ -516,7 +516,7 @@
split( /%REPEAT%/, $tmplTable );
unless ($noHeader) {
- $params{header} |= $beforeText;
+ $params{header} = $beforeText unless defined $params{header};
}
--
MichaelDaum - 23 Sep 2009