]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
historyurl can be undef
authorJoey Hess <joey@kodama.kitenet.net>
Sat, 26 Jul 2008 23:37:25 +0000 (19:37 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Sat, 26 Jul 2008 23:37:25 +0000 (19:37 -0400)
IkiWiki/Render.pm

index 90058199c128ebd68f7fa41c2e0f4d71c36e6d32..cb92d1ade947290edef6afd14636fd4d15c8ca63 100644 (file)
@@ -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);