Fix UserGroup::getName()
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 24 Oct 2012 15:47:37 +0000 (17:47 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 24 Oct 2012 15:47:37 +0000 (17:47 +0200)
wcfsetup/install/files/lib/data/user/group/UserGroup.class.php

index 6230a68e5f278257e70a5bedc9576ef430920269..fb18f5791f44457add97a05cbe46cec97b345baf 100644 (file)
@@ -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);
        }
        
        /**