mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 06:51:33 +02:00
[ticket/9837] Make unapproved posts visible to posters
Improvements for feature following review PHPBB3-9837
This commit is contained in:
@@ -899,6 +899,11 @@ 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)
|
||||
{
|
||||
$replies++;
|
||||
}
|
||||
|
||||
if ($row['topic_status'] == ITEM_MOVED)
|
||||
{
|
||||
|
Reference in New Issue
Block a user