mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
correctly hide categories with only hidden modules
git-svn-id: file:///svn/phpbb/trunk@6011 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d404c70552
commit
f8440e370f
1 changed files with 2 additions and 2 deletions
|
@ -154,8 +154,8 @@ class p_master
|
|||
{
|
||||
if ($temp_row['left_id'] > $row['left_id'] && $temp_row['left_id'] < $row['right_id'])
|
||||
{
|
||||
// Module there
|
||||
if ($temp_row['module_name'] && $temp_row['module_enabled'])
|
||||
// Module there and not hidden?
|
||||
if ($temp_row['module_name'] && $temp_row['module_enabled'] && $temp_row['module_display'])
|
||||
{
|
||||
$empty_category = false;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue