From 49928906b0f643bca968bc8d82bdaa473d81e251 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 5 Jan 2011 16:11:54 -0400 Subject: oops --- IkiWiki/CGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') 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); -- cgit v1.2.3