1. 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

Discussion in 'Resolved Bug Reports' started by Xon, Mar 5, 2015.

  1. Xon

    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;
    
     
    batpool52!, Liam W and Marcus like this.
  2. Mike

    Mike XenForo Developer Staff Member

    This actually applied to the success case too (for moderation). This is fixed now, thanks.
     
    Marcus and Xon like this.

Share This Page