aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index 33ef6a3a9c..ebda3118d3 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -258,7 +258,7 @@ switch ($mode)
$sql_forums = array();
foreach ($f_postcount_ary as $forum_id => $allow)
{
- if ($allow)
+ if ($allow['f_fread'] && $allow['f_postcount'])
{
$sql_forums[] = $forum_id;
}
@@ -284,7 +284,7 @@ switch ($mode)
$sql_forums = array();
foreach ($f_forum_ary as $forum_id => $allow)
{
- if ($allow)
+ if ($allow['f_read'])
{
$sql_forums[] = $forum_id;
}