summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-04 04:45:30 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-04 04:45:30 +0000
commitccbf965e6b875c9cfa2ef681c85a224439928a69 (patch)
treec77371874f41e638df1787416cdd6f46f78ca1e0
parent12c08195e213041167489c8b06610d2ebfca8dfa (diff)
fix a bug that doubled the search box
-rw-r--r--IkiWiki/Wrapper.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm
index 52a7ca2c7..7d27abd06 100644
--- a/IkiWiki/Wrapper.pm
+++ b/IkiWiki/Wrapper.pm
@@ -47,6 +47,10 @@ EOF
EOF
}
+ # This is only set by plugins, which append to it on startup, so
+ # avoid storing it in the wrapper.
+ $config{headercontent}="";
+
$Data::Dumper::Indent=0; # no newlines
my $configstring=Data::Dumper->Dump([\%config], ['*config']);
$configstring=~s/\\/\\\\/g;