aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 525de75679..bcc6486130 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -777,7 +777,7 @@ else if( $mode == "editpost" && $topic_status == TOPIC_UNLOCKED )
}
else
{
- if( !$is_last_post && $userdata['user_level'] != ADMIN )
+ if( !$is_last_post && ( !$is_auth['auth_mod'] || $check_user_id == $userdata['user_id'] ) )
{
$edited_sql = ", post_edit_time = " . time() . ", post_edit_count = post_edit_count + 1 ";
}