aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorv12mike <github@ingenious.co.nz>2019-09-11 08:23:21 -0400
committerMarc Alexander <admin@m-a-styles.de>2019-11-21 13:44:20 +0100
commit46a189fa4c5ed099eddca5b03f6fd17e057a37c6 (patch)
tree2f90c110416d7956d476a3861dfe7fdcd3262a3d /phpBB/viewforum.php
parente102a9a3cb81534731495f3c4d2ceed815f6dec2 (diff)
downloadforums-46a189fa4c5ed099eddca5b03f6fd17e057a37c6.tar
forums-46a189fa4c5ed099eddca5b03f6fd17e057a37c6.tar.gz
forums-46a189fa4c5ed099eddca5b03f6fd17e057a37c6.tar.bz2
forums-46a189fa4c5ed099eddca5b03f6fd17e057a37c6.tar.xz
forums-46a189fa4c5ed099eddca5b03f6fd17e057a37c6.zip
[ticket/9837] Display unapproved posts to originator
Fix whitespace issues PHPBB3-9837
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 6b98021e3c..787667fcd7 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -899,8 +899,8 @@ if (count($topic_list))
// Replies
$replies = $phpbb_content_visibility->get_count('topic_posts', $row, $topic_forum_id) - 1;
- //correct for case of unapproved topic visible to poster - a bit dirty but efficient
- if ($replies < 0)
+ //correct for case of unapproved topic visible to poster - a bit dirty but efficient
+ if ($replies < 0)
{
$replies = 0;
}