1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

Show legend if group coloured and not hidden

git-svn-id: file:///svn/phpbb/trunk@4433 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2003-08-25 16:48:31 +00:00
parent 056af19ae6
commit 7947c4e92c
2 changed files with 4 additions and 4 deletions

View File

@@ -27,7 +27,6 @@ include($phpbb_root_path . 'common.'.$phpEx);
// Get posted/get info
$mark_read = (isset($_REQUEST['mark'])) ? $_REQUEST['mark'] : '';
// Start session management
$user->start();
$auth->acl($user->data);
@@ -101,7 +100,7 @@ else
$sql = 'SELECT group_name, group_colour, group_type
FROM ' . GROUPS_TABLE . "
WHERE group_colour <> ''
AND group_display = 1";
AND group_type <> " . GROUP_HIDDEN;
$result = $db->sql_query($sql);
$legend = '';