Fixed Spam trigger log entity does no have max length set for content_type

Affected version
2.1.8 PL2


Well-known member
            'content_type' => ['type' => self::STR, 'required' => true],
should be:
            'content_type' => ['type' => self::STR, 'required' => true, 'maxLength' => 25],

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.9).

Change log:
Set a maximum length for content_type field in the spam trigger log entity.
There may be a delay before changes are rolled out to the XenForo Community.