Fixed oversight of caatastrophic magnitude.
This commit is contained in:
parent
a5459e1120
commit
1ce31f86c7
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ $canEdit = !$isBanned
|
||||||
&& user_session_active()
|
&& user_session_active()
|
||||||
&& (
|
&& (
|
||||||
$viewingOwnProfile
|
$viewingOwnProfile
|
||||||
|| user_check_super($userId)
|
|| user_check_super($currentUserId)
|
||||||
|| (
|
|| (
|
||||||
perms_check($userPerms, MSZ_PERM_USER_MANAGE_USERS)
|
perms_check($userPerms, MSZ_PERM_USER_MANAGE_USERS)
|
||||||
&& user_check_authority($currentUserId, $userId)
|
&& user_check_authority($currentUserId, $userId)
|
||||||
|
|
Loading…
Add table
Reference in a new issue