aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2010-03-11 16:03:14 +0100
committerJoas Schilling <nickvergessen@gmx.de>2011-04-07 13:47:06 +0200
commit27fdcb4c7ec4aac68ba0a809473312ee83b50a66 (patch)
treec1cfbdb38e56d49c9b18c97c8560dac8caea4799 /phpBB/memberlist.php
parent3352141264993982215b714ac7a128854494ac1f (diff)
downloadforums-27fdcb4c7ec4aac68ba0a809473312ee83b50a66.tar
forums-27fdcb4c7ec4aac68ba0a809473312ee83b50a66.tar.gz
forums-27fdcb4c7ec4aac68ba0a809473312ee83b50a66.tar.bz2
forums-27fdcb4c7ec4aac68ba0a809473312ee83b50a66.tar.xz
forums-27fdcb4c7ec4aac68ba0a809473312ee83b50a66.zip
[ticket/9684] Remove code in some more files especially includes/
Topic-Tracking is still missing. PHPBB3-9684
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index 64d29d18bd..685830c656 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -1136,7 +1136,7 @@ switch ($mode)
$sql = 'SELECT DISTINCT poster_id
FROM ' . POSTS_TABLE . '
WHERE poster_ip ' . ((strpos($ips, '%') !== false) ? 'LIKE' : 'IN') . " ($ips)
- AND forum_id IN (" . implode(', ', $ip_forums) . ')';
+ AND " . $db->sql_in_set('forum_id', $ip_forums);
$result = $db->sql_query($sql);
if ($row = $db->sql_fetchrow($result))