From: Joey Hess Date: Wed, 5 Jan 2011 20:11:54 +0000 (-0400) Subject: oops X-Git-Tag: 3.20110105~8 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/49928906b0f643bca968bc8d82bdaa473d81e251?hp=4dbb8120f760d9009f0c2639f2ccb9808150aed5 oops --- 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);