mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge pull request #5864 from mrgoldy/ticket/16376
[ticket/16376] Add default for display_subforum_limit
This commit is contained in:
commit
ffe201be36
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
||||||
|
|
||||||
// Direct child of current branch
|
// Direct child of current branch
|
||||||
$parent_id = $forum_id;
|
$parent_id = $forum_id;
|
||||||
$parent_subforum_limit = $row['display_subforum_limit'];
|
$parent_subforum_limit = $row['display_subforum_limit'] ?? false;
|
||||||
$forum_rows[$forum_id] = $row;
|
$forum_rows[$forum_id] = $row;
|
||||||
|
|
||||||
if ($row['forum_type'] == FORUM_CAT && $row['parent_id'] == $root_data['forum_id'])
|
if ($row['forum_type'] == FORUM_CAT && $row['parent_id'] == $root_data['forum_id'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue