mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/12174] Don't update the flag for a post without attachment
PHPBB3-12174
This commit is contained in:
@@ -456,7 +456,7 @@ class content_visibility
|
|||||||
$update_topic_attachments_flag = true;
|
$update_topic_attachments_flag = true;
|
||||||
$topic_update_array[] = 'topic_attachment = 1';
|
$topic_update_array[] = 'topic_attachment = 1';
|
||||||
}
|
}
|
||||||
else if (!$has_attachment)
|
else if (!$has_attachment && $visibility != ITEM_APPROVED)
|
||||||
{
|
{
|
||||||
$update_topic_attachments_flag = true;
|
$update_topic_attachments_flag = true;
|
||||||
$topic_update_array[] = 'topic_attachment = 0';
|
$topic_update_array[] = 'topic_attachment = 0';
|
||||||
|
Reference in New Issue
Block a user