mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
- added delete cookies link
- fixed global announcement links in viewforum - do not display redirects in link forums as posts in forum overview git-svn-id: file:///svn/phpbb/trunk@4904 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -129,7 +129,12 @@ function display_forums($root_data = '', $display_moderators = TRUE)
|
||||
|
||||
// Include subforum topic/post counts in parent counts
|
||||
$forum_rows[$parent_id]['forum_topics'] += $row['forum_topics'];
|
||||
$forum_rows[$parent_id]['forum_posts'] += $row['forum_posts'];
|
||||
|
||||
// Do not list redirects in LINK Forums as Posts.
|
||||
if ($row['forum_type'] != FORUM_LINK)
|
||||
{
|
||||
$forum_rows[$parent_id]['forum_posts'] += $row['forum_posts'];
|
||||
}
|
||||
|
||||
if (isset($forum_rows[$parent_id]) && $row['forum_last_post_time'] > $forum_rows[$parent_id]['forum_last_post_time'])
|
||||
{
|
||||
|
Reference in New Issue
Block a user