- Affected version
- 2.1.1
The submitted email address for a guest user is not pushed into the spam checker in
Instead of;
Something like;
XF\Service\Contact::checkForSpam
Instead of;
PHP:
$user = $this->fromUser ?: $this->repository('XF:User')->getGuestUser($this->fromName);
Something like;
PHP:
if (!$this->fromUser)
{
$user = $this->repository('XF:User')->getGuestUser($this->fromName);
$user->setAsSaved('email', $this->fromEmail);
}
else
{
$user = $this->fromUser;
}
Last edited: