mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/9837] Display unapproved posts to their authors
Clarification of comment PHPBB3-9837
This commit is contained in:
parent
8726baea9f
commit
4d15683733
1 changed files with 1 additions and 1 deletions
|
@ -899,7 +899,7 @@ if (count($topic_list))
|
||||||
|
|
||||||
// Replies
|
// Replies
|
||||||
$replies = $phpbb_content_visibility->get_count('topic_posts', $row, $topic_forum_id) - 1;
|
$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
|
// Correction for case of unapproved topic visible to poster
|
||||||
if ($replies < 0)
|
if ($replies < 0)
|
||||||
{
|
{
|
||||||
$replies = 0;
|
$replies = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue