From: Tim Düsterhus Date: Wed, 24 Oct 2012 15:47:37 +0000 (+0200) Subject: Fix UserGroup::getName() X-Git-Tag: 2.0.0_Beta_1~836^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=99733b78f2137520d2e5717434a1a45e15e39c98;p=GitHub%2FWoltLab%2FWCF.git Fix UserGroup::getName() --- diff --git a/wcfsetup/install/files/lib/data/user/group/UserGroup.class.php b/wcfsetup/install/files/lib/data/user/group/UserGroup.class.php index 6230a68e5f..fb18f5791f 100644 --- a/wcfsetup/install/files/lib/data/user/group/UserGroup.class.php +++ b/wcfsetup/install/files/lib/data/user/group/UserGroup.class.php @@ -240,8 +240,7 @@ class UserGroup extends DatabaseObject { * @return string */ public function getName() { - // TODO: Is the output correct when I18n is not used? - return WCF::getLanguage()->get('wcf.acp.group.group'.$this->groupID); + return WCF::getLanguage()->get($this->groupName); } /**