• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed XF\Service\Contact::validate gets called twice

Affected version


Well-known member
actionContact explicitly calls validate(), and then the contact service's send()[icode] calls it again.

Chris D

XenForo developer
Staff member
You're not wrong. We could have probably used the ValidateAndSavableTrait here but too late to add that now so I've just added a validated class property to store the validated state so we can prevent it running twice.