From: Alexander Ebert Date: Sun, 9 Oct 2016 19:07:53 +0000 (+0200) Subject: Disabled 'Never' setting for administrator permissions X-Git-Tag: 3.0.0_Beta_3~50^2~37 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6f06efed744646f0670348675b16d2110147f6e2;p=GitHub%2FWoltLab%2FWCF.git Disabled 'Never' setting for administrator permissions --- diff --git a/wcfsetup/install/files/acp/templates/userGroupBooleanOptionType.tpl b/wcfsetup/install/files/acp/templates/userGroupBooleanOptionType.tpl index bdbf79db1a..8f04b0e63d 100644 --- a/wcfsetup/install/files/acp/templates/userGroupBooleanOptionType.tpl +++ b/wcfsetup/install/files/acp/templates/userGroupBooleanOptionType.tpl @@ -7,7 +7,7 @@ - {if $group === null || !$group->isEveryone()} + {if $option->optionName|mb_strpos:'admin.' !== 0 && ($group === null || !$group->isEveryone())}