diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-26 19:37:25 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-26 19:37:25 -0400 |
commit | cecd3bf7256b2bc984220ebf1b845c827ba4a0bf (patch) | |
tree | 8c36fa655357699dbdf81892d03f3e2d5f7c74be /IkiWiki | |
parent | 8051316904d13de3e467f01ebaeacaa5d8efb1b6 (diff) |
historyurl can be undef
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Render.pm | 2 |
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); |