mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Moderators get edited by message when editing own posts
git-svn-id: file:///svn/phpbb/trunk@674 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
e5211f3d20
commit
0aea503a65
1 changed files with 1 additions and 1 deletions
|
@ -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 ";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue