diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-23 06:48:56 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-23 06:48:56 +0000 |
commit | 201d11da0aad98ee497aa9866782547795d3369f (patch) | |
tree | bb2a47ba883e5ffa9f85367f81a15294bb164176 /IkiWiki | |
parent | a0261089081ec71beea4cc5eb3eb4f243649520b (diff) | |
download | ikiwiki-201d11da0aad98ee497aa9866782547795d3369f.tar ikiwiki-201d11da0aad98ee497aa9866782547795d3369f.tar.gz |
the problem with coding while drunk -- idiotic mistakes
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Render.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 6d19a1dd3..863964207 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -93,7 +93,7 @@ sub genpage ($$$) { #{{{ $template->param(historyurl => $u); $actions++; } - if ($config{discussion} && ($config{cgi} || exists $links{"$page/discussion"})) { + if ($config{discussion} && (length $config{cgiurl} || exists $links{"$page/discussion"})) { $template->param(discussionlink => htmllink($page, $page, "Discussion", 1, 1)); $actions++; } |