From a59c2da9e15545443cf60c8846adcdfe4ef314c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 13 Oct 2021 16:21:09 +0200 Subject: [PATCH] Allow unblocking non-blockable users from within the profile Fixes #4548 --- com.woltlab.wcf/templates/user.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.woltlab.wcf/templates/user.tpl b/com.woltlab.wcf/templates/user.tpl index c3e91ee7da..794f990686 100644 --- a/com.woltlab.wcf/templates/user.tpl +++ b/com.woltlab.wcf/templates/user.tpl @@ -45,7 +45,7 @@ UiUserEditor.init(); {/if} - {if !$user->getPermission('user.profile.cannotBeIgnored')} + {if !$user->getPermission('user.profile.cannotBeIgnored') || $__wcf->getUserProfileHandler()->isIgnoredUser($user->userID)} new UiUserProfileMenuItemIgnore({@$user->userID}, {if $__wcf->getUserProfileHandler()->isIgnoredUser($user->userID)}true{else}false{/if}); {/if} -- 2.20.1