MDL-56225 mod_forum: Fix inability to edit attachments