1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 22:40:39 +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:
Meik Sievertsen
2009-08-25 09:07:26 +00:00
parent 19bae65f4c
commit 17f40511bf
4 changed files with 16 additions and 2 deletions

View File

@@ -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'],
);
);
}
}