historyurl can be undef

master
Joey Hess 2008-07-26 19:37:25 -04:00
parent 8051316904
commit cecd3bf725
1 changed files with 1 additions and 1 deletions

View 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);