]> sipb.mit.edu Git - ikiwiki.git/commitdiff
oops
authorJoey Hess <joey@kitenet.net>
Wed, 5 Jan 2011 20:11:54 +0000 (16:11 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 5 Jan 2011 20:11:54 +0000 (16:11 -0400)
IkiWiki/CGI.pm

index 68226725b758bf82b4dc23701d89efa6e88f2f37..e8850cc548174efaa630b35a8578db3dc8772e3b 100644 (file)
@@ -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);