From 201d11da0aad98ee497aa9866782547795d3369f Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 23 Dec 2006 06:48:56 +0000 Subject: the problem with coding while drunk -- idiotic mistakes --- IkiWiki/Render.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') 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++; } -- cgit v1.2.3