Skip to content

Commit

Permalink
Submit empty comment no longer wipes comment page.
Browse files Browse the repository at this point in the history
  • Loading branch information
kensanata committed Feb 3, 2015
1 parent cdf8b56 commit 1a4e6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wiki.pl
Expand Up @@ -3530,7 +3530,7 @@ sub DoPost {
$comment =~ s/(\r|$FS)//go;
if (defined $comment and $comment eq '') {
ReleaseLock();
ReBrowsePage($id);
return ReBrowsePage($id);
}
if ($filename) { # upload file
my $file = $q->upload('file');
Expand Down

0 comments on commit 1a4e6aa

Please sign in to comment.