Fixed Attachment limit and deleting files

Kruzya

Well-known member
Affected version
2.1.5a
If administrator decrease attachment count limit, user will always receive message about attachment limit when deleting attachment from post with attachment count larger than "new attachment count + 1".

For example, user uploaded 15 attachments to post (limit - 20). Administrator changes limit to 10. And now when user tries delete any attachment in post - he receive message You may only attach 10 files., but attachment will be deleted.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.1.6).

Change log:
When deleting an attachment from content, prevent any upload errors.
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom