mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:48:53 +00:00
[ticket/9837] Display unapproved posts to originator
Fix whitespace issues PHPBB3-9837
This commit is contained in:
parent
e102a9a3cb
commit
46a189fa4c
2 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue