use wcf\data\acl\option\ACLOption;
use wcf\data\acl\option\ACLOptionList;
use wcf\data\object\type\ObjectTypeCache;
+use wcf\data\user\group\UserGroup;
use wcf\data\user\User;
use wcf\system\cache\builder\ACLOptionCategoryCacheBuilder;
use wcf\system\database\util\PreparedStatementConditionBuilder;
/**
* Handles ACL permissions.
- *
+ *
* @author Alexander Ebert
* @copyright 2001-2013 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
$values[$type]['option'][$typeID] = $optionValues;
if ($type === 'group') {
- $values[$type]['label'][$typeID] = WCF::getLanguage()->get('wcf.acp.group.group'.$typeID);
+ $values[$type]['label'][$typeID] = UserGroup::getGroupByID($typeID)->getName();
}
else {
$values[$type]['label'][$typeID] = $users[$typeID]->username;