aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 15b6eac31b..ab5150bf8d 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -347,6 +347,10 @@ if ($forum_data['forum_type'] == FORUM_POST)
{
$global_announce_list[$row['topic_id']] = true;
}
+ else
+ {
+ $topics_count--;
+ }
}
$db->sql_freeresult($result);
}