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

Fixed Incorrect username displayed in profile comment tag

Discussion in 'Resolved Bug Reports' started by NixFifty, Apr 12, 2014.

  1. NixFifty

    NixFifty Well-Known Member

    Imagine you have 4 people (A, B, C, D). To reproduce:

    1) User B creates a profile post on User A's profile
    2) User C comments on User B's profile post tagging User D
    3) User D gets an alert saying User B tagged them in a comment on User A's profile. User B created the profile post, not the comment. The alert should say User C tagged them.

    Example:
    [​IMG]

    [​IMG]
     
    Amaury likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    Fixed now, thanks.

    Note to developers: this has required a method signature change to XenForo_Model_ProfilePost::alertTaggedMembers() to pass in the user doing the tagging (optionally).
     
  3. NixFifty

    NixFifty Well-Known Member

    If the change isn't too drastic, do you think you'd be able to post the changed code here please?
     
    Nick Veneris likes this.

Share This Page