projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8051316
)
historyurl can be undef
author
Joey Hess
<joey@kodama.kitenet.net>
Sat, 26 Jul 2008 23:37:25 +0000
(19:37 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Sat, 26 Jul 2008 23:37:25 +0000
(19:37 -0400)
IkiWiki/Render.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Render.pm
b/IkiWiki/Render.pm
index 90058199c128ebd68f7fa41c2e0f4d71c36e6d32..cb92d1ade947290edef6afd14636fd4d15c8ca63 100644
(file)
--- 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);