Only bump post edit date field when the text has been changed.
This commit is contained in:
parent
8c7aad6d16
commit
0e0e431e26
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ if (!empty($_POST)) {
|
|||
break;
|
||||
|
||||
case 'edit':
|
||||
if (!forum_post_update($postId, ip_remote_address(), $postText, $postParser)) {
|
||||
if (!forum_post_update($postId, ip_remote_address(), $postText, $postParser, $postText !== $post['post_text'])) {
|
||||
$notices[] = 'Post edit failed.';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue