Fixed XenForo_Model_UserProfile::updateStatus does not call logSpamTrigger

Xon

Well-known member
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;
 
Back
Top Bottom