mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/12174] Don't update the flag for a post without attachment
PHPBB3-12174
This commit is contained in:
parent
712491697e
commit
93f901d078
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ class content_visibility
|
|||
$update_topic_attachments_flag = true;
|
||||
$topic_update_array[] = 'topic_attachment = 1';
|
||||
}
|
||||
else if (!$has_attachment)
|
||||
else if (!$has_attachment && $visibility != ITEM_APPROVED)
|
||||
{
|
||||
$update_topic_attachments_flag = true;
|
||||
$topic_update_array[] = 'topic_attachment = 0';
|
||||
|
|
Loading…
Add table
Reference in a new issue