diff --git a/ext/comment/main.php b/ext/comment/main.php index d8e8c379..9078316c 100644 --- a/ext/comment/main.php +++ b/ext/comment/main.php @@ -459,6 +459,7 @@ class CommentList extends SimpleExtension { "VALUES(?, ?, ?, now(), ?)", array($image_id, $user->id, $_SERVER['REMOTE_ADDR'], $comment)); $cid = $database->db->Insert_ID(); + setcookie("nocache", "true", time()+60*60); log_info("comment", "Comment #$cid added to Image #$image_id"); } }