summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-26 19:37:25 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-26 19:37:25 -0400
commitcecd3bf7256b2bc984220ebf1b845c827ba4a0bf (patch)
tree8c36fa655357699dbdf81892d03f3e2d5f7c74be
parent8051316904d13de3e467f01ebaeacaa5d8efb1b6 (diff)
historyurl can be undef
-rw-r--r--IkiWiki/Render.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index 90058199c..cb92d1ade 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -68,7 +68,7 @@ sub genpage ($$) { #{{{
$actions++;
}
- if (length $config{historyurl}) {
+ if (defined $config{historyurl} && length $config{historyurl}) {
my $u=$config{historyurl};
$u=~s/\[\[file\]\]/$pagesources{$page}/g;
$template->param(historyurl => $u);