aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
Diffstat (limited to 'comments.php')
-rw-r--r--comments.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/comments.php b/comments.php
index ea1617479..115bf8572 100644
--- a/comments.php
+++ b/comments.php
@@ -157,6 +157,7 @@ if (isset($_POST['validate']) and count($_POST['comment_id']) > 0)
$query = '
UPDATE '.COMMENTS_TABLE.'
SET validated = \'true\'
+ , validation_date = NOW()
WHERE id IN ('.implode(',', $_POST['comment_id']).')
;';
pwg_query($query);