From: Matthias Schmidt Date: Sun, 6 Aug 2017 08:46:26 +0000 (+0200) Subject: Allow template scripting in acl option labels X-Git-Tag: 3.1.0_Alpha_1~80 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=291d19f20b39b2b3fba6648c92541f3a10b9df85;p=GitHub%2FWoltLab%2FWCF.git Allow template scripting in acl option labels --- diff --git a/wcfsetup/install/files/lib/system/acl/ACLHandler.class.php b/wcfsetup/install/files/lib/system/acl/ACLHandler.class.php index 84c875cdbb..bc225d6a2b 100644 --- a/wcfsetup/install/files/lib/system/acl/ACLHandler.class.php +++ b/wcfsetup/install/files/lib/system/acl/ACLHandler.class.php @@ -250,7 +250,7 @@ class ACLHandler extends SingletonFactory { foreach ($optionList as $option) { $data['options'][$option->optionID] = [ 'categoryName' => $option->categoryName, - 'label' => WCF::getLanguage()->get('wcf.acl.option.'.$objectType->objectType.'.'.$option->optionName), + 'label' => WCF::getLanguage()->getDynamicVariable('wcf.acl.option.'.$objectType->objectType.'.'.$option->optionName), 'optionName' => $option->optionName ];