diff --git a/checkin_notes b/checkin_notes index 206c9c69d6..42720e60bf 100644 --- a/checkin_notes +++ b/checkin_notes @@ -11241,3 +11241,9 @@ David 17 Nov 2007 forum_email.inc user/ forum_user_posts.php + +David 18 Nov 2007 + - user web: update post.modified when edit post (fixes #491) + + html/user/ + forum_edit.php diff --git a/html/user/forum_edit.php b/html/user/forum_edit.php index d1a505464b..0c49fa16da 100644 --- a/html/user/forum_edit.php +++ b/html/user/forum_edit.php @@ -47,7 +47,8 @@ if (post_str('submit',true) && (!$preview)) { } $content = substr($content, 0, 64000); $content = BoincDb::escape_string($content); - $post->update("signature=$add_signature, content='$content'"); + $now = time(); + $post->update("signature=$add_signature, content='$content', modified=$now"); // If this post belongs to the creator of the thread and is at top-level // (ie. not a response to another post)