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

Fixed Ban link missing from membercard (1.1.0 Beta 3)

Discussion in 'Resolved Bug Reports' started by Brogan, Oct 18, 2011.

  1. Brogan

    Brogan XenForo Moderator Staff Member

    With the upgrade to 1.1.0 Beta 3, the Ban link is no longer appearing on the membercard avatar.
     
  2. jgas

    jgas Active Member

    Yes, I can't find it too..
     
  3. ragtek

    ragtek Guest

    A bug:D

    PHP:
    'canBanUsers' => ($visitor->hasAdminPermission('ban') && !$user['user_id'] == $visitor->getUserId() && !$user['is_admin'] && !$user['is_moderator']),
    should be
    PHP:
    'canBanUsers' => ($visitor->hasAdminPermission('ban') && $user['user_id'] != $visitor->getUserId() && !$user['is_admin'] && !$user['is_moderator']),
    in XenForo_ControllerPublic_Member
     
    Lawrence likes this.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    That's why I posted it in the Open Bug Reports forum :D

    *scnr*
     
  5. Lawrence

    Lawrence Well-Known Member

    Thanks for confirming, and more importantly providing a fix, :)
     
  6. Mike

    Mike XenForo Developer Staff Member

    Fixed.
     
    Dean likes this.

Share This Page