]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/inline.pm
tested and seems to work
[git.ikiwiki.info.git] / IkiWiki / Plugin / inline.pm
index b58c8780b0ef24637ebe98845b1cdc3b4b4b2739..7c5da7343907d9d0f41ed65e2573942e3b6cbb9b 100644 (file)
@@ -128,10 +128,10 @@ sub sessioncgi ($$) {
                        $add=1 unless length $add;
                        $add++;
                }
-               $q->param('page', $page.$add);
+               $q->param('page', "/$from/$page$add");
                # now go create the page
                $q->param('do', 'create');
-               # make sure the editpage plugin in loaded
+               # make sure the editpage plugin is loaded
                if (IkiWiki->can("cgi_editpage")) {
                        IkiWiki::cgi_editpage($q, $session);
                }