aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-08-25 09:07:26 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-08-25 09:07:26 +0000
commit17f40511bf4df9dd46cd13cbd2c7802c49575783 (patch)
tree96b9183199fed320c786300f44767792ca1fa4da /phpBB/includes/mcp/mcp_queue.php
parent19bae65f4c79c7f50d71fd57bfff6ff1033ed84b (diff)
downloadforums-17f40511bf4df9dd46cd13cbd2c7802c49575783.tar
forums-17f40511bf4df9dd46cd13cbd2c7802c49575783.tar.gz
forums-17f40511bf4df9dd46cd13cbd2c7802c49575783.tar.bz2
forums-17f40511bf4df9dd46cd13cbd2c7802c49575783.tar.xz
forums-17f40511bf4df9dd46cd13cbd2c7802c49575783.zip
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
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index f72007acf5..3783aadab5 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -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'],
- );
+ );
}
}