aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-12-14 19:41:41 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-12-14 19:41:41 +0000
commit50c7f7ab04bbc1e28eecb4cc6253c117718d5e07 (patch)
tree068533106de1781022bc88a513cb6a674975bdad /IkiWiki
parent264a28a3b4684eef9a89b56a090b8728ec0e3bee (diff)
downloadikiwiki-50c7f7ab04bbc1e28eecb4cc6253c117718d5e07.tar
ikiwiki-50c7f7ab04bbc1e28eecb4cc6253c117718d5e07.tar.gz
* Fix sometimes broken links to Discussion pages from blog pages.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/inline.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index 8c00ca5f5..fd7a59ab3 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -135,7 +135,7 @@ sub preprocess_inline (@) { #{{{
my $type = pagetype($file);
if ($config{discussion}) {
$template->param(have_actions => 1);
- $template->param(discussionlink => htmllink($page, $page, "Discussion", 1, 1));
+ $template->param(discussionlink => htmllink($page, $params{page}, "Discussion", 1, 1));
}
if (length $config{cgiurl} && defined $type) {
$template->param(have_actions => 1);