From 737812dc448967179a2d286243bdb9ac8c41371f Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 17 Jun 2009 15:38:08 +0000 Subject: [PATCH] fix r9602 Authorised by: acydburn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9611 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_user.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 962733aa6a..f8827154c9 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -1145,7 +1145,10 @@ function user_unban($mode, $ban) while ($row = $db->sql_fetchrow($result)) { $l_unban_list .= (($l_unban_list != '') ? ', ' : '') . $row['unban_info']; - $user_ids_ary[] = $row['user_id']; + if ($mode == 'user') + { + $user_ids_ary[] = $row['user_id']; + } } $db->sql_freeresult($result);