Fixed oversight of caatastrophic magnitude.

This commit is contained in:
flash 2019-03-18 21:52:28 +01:00
parent a5459e1120
commit 1ce31f86c7

View file

@ -24,7 +24,7 @@ $canEdit = !$isBanned
&& user_session_active()
&& (
$viewingOwnProfile
|| user_check_super($userId)
|| user_check_super($currentUserId)
|| (
perms_check($userPerms, MSZ_PERM_USER_MANAGE_USERS)
&& user_check_authority($currentUserId, $userId)