From 0aea503a65a51cc5f4c7ede271be443d23196d46 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 15 Jul 2001 23:27:16 +0000 Subject: [PATCH] Moderators get edited by message when editing own posts git-svn-id: file:///svn/phpbb/trunk@674 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "; }