aboutsummaryrefslogtreecommitdiffstats
path: root/web/confirm.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'web/confirm.cgi')
-rwxr-xr-xweb/confirm.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/confirm.cgi b/web/confirm.cgi
index c9447d982..8e51a4555 100755
--- a/web/confirm.cgi
+++ b/web/confirm.cgi
@@ -73,7 +73,7 @@ sub confirm_update {
dbh()->do("update comment set state='hidden' where id=?", {}, $id);
return $q->p('Sorry, there has been an error confirming your update.');
} else {
- dbh()->do("update comment set state='confirmed' where id=? and state='unconfirmed'", {}, $id);
+ dbh()->do("update comment set state='confirmed', confirmed=ms_current_timestamp() where id=? and state='unconfirmed'", {}, $id);
}
my $creator_fixed = 0;