Fixes UserGroupAddForm bug
authorMatthias Schmidt <gravatronics@live.com>
Sat, 14 Jul 2012 10:45:01 +0000 (12:45 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 14 Jul 2012 10:45:01 +0000 (12:45 +0200)
wcfsetup/install/files/lib/acp/form/UserGroupAddForm.class.php

index 36e1e5dcc20f9bd7d2d24f2b9c23c671d773c705..9559b67f4f42d00663d3668b3b2e8ab666eb83c8 100755 (executable)
@@ -154,7 +154,7 @@ class UserGroupAddForm extends AbstractOptionListForm {
                $this->objectAction->executeAction();
                
                if (!I18nHandler::getInstance()->isPlainValue('groupName')) {
-                       $returnValues = $groupAction->getReturnValues();
+                       $returnValues = $this->objectAction->getReturnValues();
                        $groupID = $returnValues['returnValues']->groupID;
                        I18nHandler::getInstance()->save('groupName', 'wcf.acp.group.group'.$groupID, 'wcf.acp.group', 1);