diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2009-06-17 15:38:08 +0000 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2009-06-17 15:38:08 +0000 |
commit | 737812dc448967179a2d286243bdb9ac8c41371f (patch) | |
tree | 9e43f0ac614b03e4b56cb2b390721b7deda7da0a /phpBB/includes/functions_user.php | |
parent | 5943407cdcb66a03b8afdcf7273e21116f8fd890 (diff) | |
download | forums-737812dc448967179a2d286243bdb9ac8c41371f.tar forums-737812dc448967179a2d286243bdb9ac8c41371f.tar.gz forums-737812dc448967179a2d286243bdb9ac8c41371f.tar.bz2 forums-737812dc448967179a2d286243bdb9ac8c41371f.tar.xz forums-737812dc448967179a2d286243bdb9ac8c41371f.zip |
fix r9602
Authorised by: acydburn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9611 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 5 |
1 files changed, 4 insertions, 1 deletions
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); |