aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-05-08 13:17:45 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-05-08 13:17:45 -0400
commite23868f3e2e95ea5b6bc5d4a14fc48f8bce99615 (patch)
tree92a0eaac011aafb5829b15eb992e9e6a3d066a3a /phpBB/includes/functions_user.php
parentf65556e6defb2750fcf680bd29e56f2416176fe1 (diff)
downloadforums-e23868f3e2e95ea5b6bc5d4a14fc48f8bce99615.tar
forums-e23868f3e2e95ea5b6bc5d4a14fc48f8bce99615.tar.gz
forums-e23868f3e2e95ea5b6bc5d4a14fc48f8bce99615.tar.bz2
forums-e23868f3e2e95ea5b6bc5d4a14fc48f8bce99615.tar.xz
forums-e23868f3e2e95ea5b6bc5d4a14fc48f8bce99615.zip
[feature/prune-users] Fixed user id check in undelivered users loop.
There is now $user_ids instead of one $user_id. PHPBB3-9622
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 3926de2b12..2ac8ff0eec 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -611,7 +611,7 @@ function user_delete($mode, $user_ids, $retain_username = true)
foreach ($undelivered_user as $_user_id => $ary)
{
- if ($_user_id == $user_id)
+ if (in_array($_user_id, $user_ids))
{
continue;
}