mirror of https://github.com/BOINC/boinc.git
- user web: update post.modified when edit post (fixes #491)
svn path=/trunk/boinc/; revision=14248
This commit is contained in:
parent
09177a1357
commit
990ce3e46f
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue