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

Fixed XenForo_Model_UserProfile::updateStatus does not call logSpamTrigger

Xon

Well-known member
#1
If XenForo_Model_UserProfile::updateStatus, it does a spam check; but fails to call logSpamTrigger like everywhere else does.
IE;
Code:
					case XenForo_Model_SpamPrevention::RESULT_DENIED;
						$writer->error(new XenForo_Phrase('your_content_cannot_be_submitted_try_later'));
						break;

Spam checking for Profile posts:
Code:
					case XenForo_Model_SpamPrevention::RESULT_DENIED;
						$spamModel->logSpamTrigger('profile_post', null);
						$writer->error(new XenForo_Phrase('your_content_cannot_be_submitted_try_later'));
						break;