historyurl can be undef
parent
8051316904
commit
cecd3bf725
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue