mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-29 02:29:21 +02:00
Merge pull request #5864 from mrgoldy/ticket/16376
[ticket/16376] Add default for display_subforum_limit
This commit is contained in:
commit
ffe201be36
@ -267,7 +267,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
||||
|
||||
// Direct child of current branch
|
||||
$parent_id = $forum_id;
|
||||
$parent_subforum_limit = $row['display_subforum_limit'];
|
||||
$parent_subforum_limit = $row['display_subforum_limit'] ?? false;
|
||||
$forum_rows[$forum_id] = $row;
|
||||
|
||||
if ($row['forum_type'] == FORUM_CAT && $row['parent_id'] == $root_data['forum_id'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user