mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
Make sure only logs for existing users are displayed and user-specific logs removed on user deletion. (Bug #49855)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10053 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -556,6 +556,7 @@ function approve_post($post_id_list, $id, $mode)
|
||||
|
||||
$post_approve_sql[] = $post_id;
|
||||
}
|
||||
|
||||
$post_id_list = array_values(array_diff($post_id_list, $post_approved_list));
|
||||
for ($i = 0, $size = sizeof($post_approved_list); $i < $size; $i++)
|
||||
{
|
||||
@@ -834,7 +835,7 @@ function disapprove_post($post_id_list, $id, $mode)
|
||||
'post_subject' => $post_info[$post_id]['post_subject'],
|
||||
'forum_id' => $post_info[$post_id]['forum_id'],
|
||||
'topic_id' => $post_info[$post_id]['topic_id'],
|
||||
);
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user