if ($form->submitted eq POST_COMMENT && $form->validate) {
IkiWiki::checksessionexpiry($cgi, $session);
+ $postcomment=1;
IkiWiki::check_content(content => $form->field('editcontent'),
subject => $form->field('subject'),
$config{comments_allowauthor} ? (
url => $form->field('url'),
) : (),
page => $location,
- cgi => $cgi, session => $session);
+ cgi => $cgi, session => $session
+ );
+ $postcomment=0;
my $file = "$location._comment";