Pass a CGIURL into commentmoderation.tmpl

Omitting this resulted <form action=""> which is in fact a working
self-referential form, but is less obvious than it ought to be.
master
Simon McVittie 2010-11-23 00:20:57 +00:00
parent 1f019ac2aa
commit 4625e0c4d9
1 changed files with 1 additions and 0 deletions

View File

@ -656,6 +656,7 @@ sub commentmoderation ($$) {
$template->param( $template->param(
sid => $session->id, sid => $session->id,
comments => \@comments, comments => \@comments,
cgiurl => IkiWiki::cgiurl(),
); );
IkiWiki::printheader($session); IkiWiki::printheader($session);
my $out=$template->output; my $out=$template->output;