Moderator link on admincp profile doesn't link to the user's moderator page

Xon

Well-known member
Affected version
2.2.9
In the admincp, when a user is an admin the "administrator" link goes to the administrator page for that user. While the "moderator" link goes to the moderator list. These two links are inconsistent in behavior.

user_edit template bits;
XML:
                <xf:if is="$user.is_admin">
                    <li><a href="{{ link('admins/edit', $user) }}">{{ $user.is_super_admin ?  phrase('super_administrator') : phrase('administrator') }}</a></li>
                </xf:if>
                <xf:if is="$user.is_moderator">
                    <li><a href="{{ link('moderators') }}">{{ phrase('moderator') }}</a></li>
                </xf:if>
 
Top