aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-11 04:59:03 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-11 04:59:03 +0000
commite5ddd9b5812cfe57c1dce38509e3922715f62cda (patch)
tree65c96cf3efbe00f6ffbadb479936b3328948e13e /IkiWiki.pm
parent6a01fac9115e99e5102401e0fbfeef9f950da257 (diff)
downloadikiwiki-e5ddd9b5812cfe57c1dce38509e3922715f62cda.tar
ikiwiki-e5ddd9b5812cfe57c1dce38509e3922715f62cda.tar.gz
* Fix a bug with inlined create page links, including Discussion links on
blog post pages. The links will now create pages relative to the page that actually contains the link.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 29add5c34..9e71cc153 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -458,7 +458,7 @@ sub htmllink ($$$;@) { #{{{
cgiurl(
do => "create",
page => pagetitle(lc($link), 1),
- from => $page
+ from => $lpage
).
"\">?</a>$linktext</span>"
}