From: Joey Hess Date: Wed, 5 Jan 2011 20:11:54 +0000 (-0400) Subject: oops X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=49928906b0f643bca968bc8d82bdaa473d81e251;p=ikiwiki.git 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);