aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-07-15 23:27:16 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-07-15 23:27:16 +0000
commit0aea503a65a51cc5f4c7ede271be443d23196d46 (patch)
tree82fbe3970b8ebbc138af9f719e3ab594bccfe0c0 /phpBB
parente5211f3d205f08a485f0e5bb828667bbc7876678 (diff)
downloadforums-0aea503a65a51cc5f4c7ede271be443d23196d46.tar
forums-0aea503a65a51cc5f4c7ede271be443d23196d46.tar.gz
forums-0aea503a65a51cc5f4c7ede271be443d23196d46.tar.bz2
forums-0aea503a65a51cc5f4c7ede271be443d23196d46.tar.xz
forums-0aea503a65a51cc5f4c7ede271be443d23196d46.zip
Moderators get edited by message when editing own posts
git-svn-id: file:///svn/phpbb/trunk@674 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-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 ";
}