diff options
author | Rahul R <rahulr92@gmail.com> | 2012-04-05 02:02:02 +0530 |
---|---|---|
committer | Rahul R <rahulr92@gmail.com> | 2012-04-08 10:34:29 +0530 |
commit | 2a8481d68188480061e9769711195091f05f7134 (patch) | |
tree | 90e3c30a2b934babe450a687dd67079e3b4af537 /phpBB/includes/functions_display.php | |
parent | 630c0397b9a1735fc60ef3704be41d05e4929ceb (diff) | |
download | forums-2a8481d68188480061e9769711195091f05f7134.tar forums-2a8481d68188480061e9769711195091f05f7134.tar.gz forums-2a8481d68188480061e9769711195091f05f7134.tar.bz2 forums-2a8481d68188480061e9769711195091f05f7134.tar.xz forums-2a8481d68188480061e9769711195091f05f7134.zip |
[ticket/10650] Added checking for empty subjects
Now empty subjects will not be displayed in a
new line on the forum list.
PHPBB3-10650
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r-- | phpBB/includes/functions_display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index a28f546be0..4e70a4911c 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -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_LIST_SUBFORUMS' => ($row['display_subforum_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, 'FORUM_ID' => $row['forum_id'], |