mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/10650] Added checking for empty subjects
Now empty subjects will not be displayed in a new line on the forum list. PHPBB3-10650
This commit is contained in:
parent
7bb9e30199
commit
3e9711d6a4
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
||||||
'S_LOCKED_FORUM' => ($row['forum_status'] == ITEM_LOCKED) ? true : false,
|
'S_LOCKED_FORUM' => ($row['forum_status'] == ITEM_LOCKED) ? true : false,
|
||||||
'S_LIST_SUBFORUMS' => ($row['display_subforum_list']) ? true : false,
|
'S_LIST_SUBFORUMS' => ($row['display_subforum_list']) ? true : false,
|
||||||
'S_SUBFORUMS' => (sizeof($subforums_list)) ? true : false,
|
'S_SUBFORUMS' => (sizeof($subforums_list)) ? true : false,
|
||||||
'S_DISPLAY_SUBJECT' => ($row['display_last_subject'] && !$row['forum_password'] && $auth->acl_get('f_read', $row['forum_id'])) ? true : false,
|
'S_DISPLAY_SUBJECT' => ($last_post_subject && $row['display_last_subject'] && !$row['forum_password'] && $auth->acl_get('f_read', $row['forum_id'])) ? true : false,
|
||||||
'S_FEED_ENABLED' => ($config['feed_forum'] && !phpbb_optionget(FORUM_OPTION_FEED_EXCLUDE, $row['forum_options']) && $row['forum_type'] == FORUM_POST) ? true : false,
|
'S_FEED_ENABLED' => ($config['feed_forum'] && !phpbb_optionget(FORUM_OPTION_FEED_EXCLUDE, $row['forum_options']) && $row['forum_type'] == FORUM_POST) ? true : false,
|
||||||
|
|
||||||
'FORUM_ID' => $row['forum_id'],
|
'FORUM_ID' => $row['forum_id'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue