Fixed Invalid modifier used when rendering full ATTACH tag

Affected version
2.1.8 PL2


Well-known member
^ Title

At: src/XF/BbCode/Renderer/EditorHtml.php:309
            $url = $router->buildLink('public:attachments', $attachment, ['hash' => $attachment->temp_hash]);


XenForo developer
Staff member
"As title" isn't really helpful when the issue isn't clear from the title.

Please include details about the error (including any error message that may appear) and steps to reproduce.

XF Bug Bot

XenForo bug fixer bot
Staff member
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.10).

Change log:
Use the correct modifier when building attachment URLs for the editor.
There may be a delay before changes are rolled out to the XenForo Community.