From: Joey Hess Date: Sat, 26 Jul 2008 23:37:25 +0000 (-0400) Subject: historyurl can be undef X-Git-Tag: 2.60~183 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cecd3bf7256b2bc984220ebf1b845c827ba4a0bf;p=ikiwiki.git historyurl can be undef --- 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);