aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index 5b135a1d1c..e01fdc6809 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -37,7 +37,8 @@ $l_total_topic_s = ($total_topics == 0) ? 'TOTAL_TOPICS_ZERO' : 'TOTAL_TOPICS_OT
// Grab group details for legend display
$sql = 'SELECT group_id, group_name, group_colour, group_type
FROM ' . GROUPS_TABLE . '
- WHERE group_legend = 1';
+ WHERE group_legend = 1
+ AND group_type <> ' . GROUP_HIDDEN;
$result = $db->sql_query($sql);
$legend = '';