summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-01-05 16:11:54 -0400
committerJoey Hess <joey@kitenet.net>2011-01-05 16:11:54 -0400
commit49928906b0f643bca968bc8d82bdaa473d81e251 (patch)
tree2c777bf0e0c21d237f534b26b323cba2343ddf61 /IkiWiki
parent4dbb8120f760d9009f0c2639f2ccb9808150aed5 (diff)
oops
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/CGI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index 68226725b..e8850cc54 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -59,7 +59,7 @@ sub showform_preview ($$$$;@) {
my %params=@_;
# The base url needs to be a full URL, and urlto may return a path.
- my $baseurl = absurl(urlto($params{page}), $cgi->url);
+ my $baseurl = absurl(urlto($params{page}), $cgi);
showform($form, $buttons, $session, $cgi, @_,
forcebaseurl => $baseurl);